aboutsummaryrefslogtreecommitdiff
path: root/sys/netncp/ncp_subr.h
diff options
context:
space:
mode:
authorDavid E. O'Brien <obrien@FreeBSD.org>2001-12-10 08:09:49 +0000
committerDavid E. O'Brien <obrien@FreeBSD.org>2001-12-10 08:09:49 +0000
commit6e551fb6285417f585c419500047004ed47c77f1 (patch)
treeb580d740769b3b201f76ad941e8b0b8ca3015bc0 /sys/netncp/ncp_subr.h
parent9d34414bc2a9385fb400e1ca7384bd4c4d1291cd (diff)
downloadsrc-6e551fb6285417f585c419500047004ed47c77f1.tar.gz
src-6e551fb6285417f585c419500047004ed47c77f1.zip
Update to C99, s/__FUNCTION__/__func__/,
also don't use ANSI string concatenation.
Notes
Notes: svn path=/head/; revision=87599
Diffstat (limited to 'sys/netncp/ncp_subr.h')
-rw-r--r--sys/netncp/ncp_subr.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/sys/netncp/ncp_subr.h b/sys/netncp/ncp_subr.h
index b1db7afd8ae9..a4c45599fa1a 100644
--- a/sys/netncp/ncp_subr.h
+++ b/sys/netncp/ncp_subr.h
@@ -41,7 +41,7 @@
SIGISMEMBER(set, SIGQUIT))
-#define NCP_PRINT(format, args...) printf("FATAL: %s: "format, __FUNCTION__ ,## args)
+#define NCP_PRINT(format, args...) printf("FATAL: %s: "format, __func__ ,## args)
#define nwfs_printf NCP_PRINT
/* Maybe this should panic, but I dont like that */
#define NCPFATAL NCP_PRINT
@@ -49,14 +49,14 @@
/* socket debugging */
#ifdef NCP_SOCKET_DEBUG
-#define NCPSDEBUG(format, args...) printf("%s: "format, __FUNCTION__ ,## args)
+#define NCPSDEBUG(format, args...) printf("%s: "format, __func__ ,## args)
#else
#define NCPSDEBUG(format, args...)
#endif
/* NCP calls debug */
#ifdef NCP_NCP_DEBUG
-#define NCPNDEBUG(format, args...) printf("%s: "format, __FUNCTION__ ,## args)
+#define NCPNDEBUG(format, args...) printf("%s: "format, __func__ ,## args)
#else
#define NCPNDEBUG(format, args...)
#endif
@@ -70,14 +70,14 @@
/* FS VOPS debug */
#ifdef NWFS_VOPS_DEBUG
-#define NCPVODEBUG(format, args...) printf("%s: "format, __FUNCTION__ ,## args)
+#define NCPVODEBUG(format, args...) printf("%s: "format, __func__ ,## args)
#else
#define NCPVODEBUG(format, args...)
#endif
/* FS VNOPS debug */
#ifdef NWFS_VNOPS_DEBUG
-#define NCPVNDEBUG(format, args...) printf("%s: "format, __FUNCTION__ ,## args)
+#define NCPVNDEBUG(format, args...) printf("%s: "format, __func__ ,## args)
#else
#define NCPVNDEBUG(format, args...)
#endif