diff options
author | stefanf <stefanf@FreeBSD.org> | 2004-09-22 16:56:49 +0000 |
---|---|---|
committer | stefanf <stefanf@FreeBSD.org> | 2004-09-22 16:56:49 +0000 |
commit | 5b6654bdf6f88b415d84b148a3789f52f1ec2685 (patch) | |
tree | ce233aa140fe0059fed10f53cfdd1be159abf2c8 /lib/libstand | |
parent | 59b52ed829c8199391024052fe9e5647452fcdb7 (diff) | |
download | FreeBSD-src-5b6654bdf6f88b415d84b148a3789f52f1ec2685.zip FreeBSD-src-5b6654bdf6f88b415d84b148a3789f52f1ec2685.tar.gz |
Prefer C99's __func__ over GCC's __FUNCTION__.
Diffstat (limited to 'lib/libstand')
-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 219b2df..eba6a0c 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 |