diff options
author | obrien <obrien@FreeBSD.org> | 2001-12-10 08:09:49 +0000 |
---|---|---|
committer | obrien <obrien@FreeBSD.org> | 2001-12-10 08:09:49 +0000 |
commit | 7fd9a6a23abf2fb25b5925b444d0eed93c8d06f6 (patch) | |
tree | b580d740769b3b201f76ad941e8b0b8ca3015bc0 /sys/i4b | |
parent | 957a76ab241ec60b1b21124054416935dba9688b (diff) | |
download | FreeBSD-src-7fd9a6a23abf2fb25b5925b444d0eed93c8d06f6.zip FreeBSD-src-7fd9a6a23abf2fb25b5925b444d0eed93c8d06f6.tar.gz |
Update to C99, s/__FUNCTION__/__func__/,
also don't use ANSI string concatenation.
Diffstat (limited to 'sys/i4b')
-rw-r--r-- | sys/i4b/include/i4b_debug.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/sys/i4b/include/i4b_debug.h b/sys/i4b/include/i4b_debug.h index d9380f7..084623a 100644 --- a/sys/i4b/include/i4b_debug.h +++ b/sys/i4b/include/i4b_debug.h @@ -51,19 +51,19 @@ extern unsigned int i4b_l4_debug; #define NDBGL1(bits, fmt, args...) \ if(bits & i4b_l1_debug) \ - { printf("i4b-L1 %s: " fmt "\n", __FUNCTION__ , ##args ); } + { printf("i4b-L1 %s: " fmt "\n", __func__ , ##args ); } #define NDBGL2(bits, fmt, args...) \ if(bits & i4b_l2_debug) \ - { printf("i4b-L2 %s: " fmt "\n", __FUNCTION__ , ##args ); } + { printf("i4b-L2 %s: " fmt "\n", __func__ , ##args ); } #define NDBGL3(bits, fmt, args...) \ if(bits & i4b_l3_debug) \ - { printf("i4b-L3 %s: " fmt "\n", __FUNCTION__ , ##args ); } + { printf("i4b-L3 %s: " fmt "\n", __func__ , ##args ); } #define NDBGL4(bits, fmt, args...) \ if(bits & i4b_l4_debug) \ - { printf("i4b-L4 %s: " fmt "\n", __FUNCTION__ , ##args ); } + { printf("i4b-L4 %s: " fmt "\n", __func__ , ##args ); } #else /* !DO_I4B_DEBUG */ |