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/dev/twe/twevar.h | |
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/dev/twe/twevar.h')
-rw-r--r-- | sys/dev/twe/twevar.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/twe/twevar.h b/sys/dev/twe/twevar.h index 3e06bb5..84d41dd 100644 --- a/sys/dev/twe/twevar.h +++ b/sys/dev/twe/twevar.h @@ -30,11 +30,11 @@ #ifdef TWE_DEBUG #define debug(level, fmt, args...) \ do { \ - if (level <= TWE_DEBUG) printf("%s: " fmt "\n", __FUNCTION__ , ##args); \ + if (level <= TWE_DEBUG) printf("%s: " fmt "\n", __func__ , ##args); \ } while(0) #define debug_called(level) \ do { \ - if (level <= TWE_DEBUG) printf(__FUNCTION__ ": called\n"); \ + if (level <= TWE_DEBUG) printf("%s: called\n", __func__); \ } while(0) #else #define debug(level, fmt, args...) |