diff options
author | Stefan Farfeleder <stefanf@FreeBSD.org> | 2004-09-22 16:56:49 +0000 |
---|---|---|
committer | Stefan Farfeleder <stefanf@FreeBSD.org> | 2004-09-22 16:56:49 +0000 |
commit | e60b9f5130555c81ac3e6b39130d5b332a979c02 (patch) | |
tree | ce233aa140fe0059fed10f53cfdd1be159abf2c8 /lib/libstand/stand.h | |
parent | ff9af45a01e0312f2d252d06cdfefa08a2abcb37 (diff) |
Prefer C99's __func__ over GCC's __FUNCTION__.
Notes
Notes:
svn path=/head/; revision=135576
Diffstat (limited to 'lib/libstand/stand.h')
-rw-r--r-- | lib/libstand/stand.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/libstand/stand.h b/lib/libstand/stand.h index 219b2df46976..eba6a0ce6ab9 100644 --- a/lib/libstand/stand.h +++ b/lib/libstand/stand.h @@ -68,8 +68,8 @@ #include <sys/dirent.h> #include <string.h> -#define CHK(fmt, args...) printf("%s(%d): " fmt "\n", __FUNCTION__, __LINE__ , ##args) -#define PCHK(fmt, args...) {printf("%s(%d): " fmt "\n", __FUNCTION__, __LINE__ , ##args); getchar();} +#define CHK(fmt, args...) printf("%s(%d): " fmt "\n", __func__, __LINE__ , ##args) +#define PCHK(fmt, args...) {printf("%s(%d): " fmt "\n", __func__, __LINE__ , ##args); getchar();} #ifndef NULL #define NULL 0 |