diff options
author | Harvey Harrison <harvey.harrison@gmail.com> | 2008-03-05 23:47:47 -0500 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2008-03-05 23:47:47 -0500 |
commit | 0dc47877a3de00ceadea0005189656ae8dc52669 (patch) | |
tree | 7440a87385fe318cb42f0ae161be195f5e967d82 /net/rxrpc/ar-internal.h | |
parent | 6387c4bed539539b05fa773cf2ff26529dc3074c (diff) |
net: replace remaining __FUNCTION__ occurrences
__FUNCTION__ is gcc-specific, use __func__
Signed-off-by: Harvey Harrison <harvey.harrison@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/rxrpc/ar-internal.h')
-rw-r--r-- | net/rxrpc/ar-internal.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/net/rxrpc/ar-internal.h b/net/rxrpc/ar-internal.h index 1aaa2e804b0d..e58cc65728b5 100644 --- a/net/rxrpc/ar-internal.h +++ b/net/rxrpc/ar-internal.h | |||
@@ -619,8 +619,8 @@ void _dbprintk(const char *fmt, ...) | |||
619 | { | 619 | { |
620 | } | 620 | } |
621 | 621 | ||
622 | #define kenter(FMT,...) dbgprintk("==> %s("FMT")",__FUNCTION__ ,##__VA_ARGS__) | 622 | #define kenter(FMT,...) dbgprintk("==> %s("FMT")",__func__ ,##__VA_ARGS__) |
623 | #define kleave(FMT,...) dbgprintk("<== %s()"FMT"",__FUNCTION__ ,##__VA_ARGS__) | 623 | #define kleave(FMT,...) dbgprintk("<== %s()"FMT"",__func__ ,##__VA_ARGS__) |
624 | #define kdebug(FMT,...) dbgprintk(" "FMT ,##__VA_ARGS__) | 624 | #define kdebug(FMT,...) dbgprintk(" "FMT ,##__VA_ARGS__) |
625 | #define kproto(FMT,...) dbgprintk("### "FMT ,##__VA_ARGS__) | 625 | #define kproto(FMT,...) dbgprintk("### "FMT ,##__VA_ARGS__) |
626 | #define knet(FMT,...) dbgprintk("@@@ "FMT ,##__VA_ARGS__) | 626 | #define knet(FMT,...) dbgprintk("@@@ "FMT ,##__VA_ARGS__) |
@@ -671,8 +671,8 @@ do { \ | |||
671 | } while (0) | 671 | } while (0) |
672 | 672 | ||
673 | #else | 673 | #else |
674 | #define _enter(FMT,...) _dbprintk("==> %s("FMT")",__FUNCTION__ ,##__VA_ARGS__) | 674 | #define _enter(FMT,...) _dbprintk("==> %s("FMT")",__func__ ,##__VA_ARGS__) |
675 | #define _leave(FMT,...) _dbprintk("<== %s()"FMT"",__FUNCTION__ ,##__VA_ARGS__) | 675 | #define _leave(FMT,...) _dbprintk("<== %s()"FMT"",__func__ ,##__VA_ARGS__) |
676 | #define _debug(FMT,...) _dbprintk(" "FMT ,##__VA_ARGS__) | 676 | #define _debug(FMT,...) _dbprintk(" "FMT ,##__VA_ARGS__) |
677 | #define _proto(FMT,...) _dbprintk("### "FMT ,##__VA_ARGS__) | 677 | #define _proto(FMT,...) _dbprintk("### "FMT ,##__VA_ARGS__) |
678 | #define _net(FMT,...) _dbprintk("@@@ "FMT ,##__VA_ARGS__) | 678 | #define _net(FMT,...) _dbprintk("@@@ "FMT ,##__VA_ARGS__) |