summaryrefslogtreecommitdiff
path: root/source4/lib/util
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2007-11-05 10:10:17 +0100
committerStefan Metzmacher <metze@samba.org>2007-12-21 05:44:16 +0100
commit149190ff2108ba203f5cddd4414e2d02e469747a (patch)
tree9d6f13c5a1c6d12322474712b44919365d8fc9dc /source4/lib/util
parentc559f0057f830898a20851ee4a3a28ebfcd8e264 (diff)
downloadsamba-149190ff2108ba203f5cddd4414e2d02e469747a.tar.gz
samba-149190ff2108ba203f5cddd4414e2d02e469747a.tar.bz2
samba-149190ff2108ba203f5cddd4414e2d02e469747a.zip
r25830: fix compiler warning
metze (This used to be commit 26bfdff48779447a2f4b552c5af32abf2b8c4c45)
Diffstat (limited to 'source4/lib/util')
-rw-r--r--source4/lib/util/debug.c2
-rw-r--r--source4/lib/util/debug.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/source4/lib/util/debug.c b/source4/lib/util/debug.c
index 67663cb6ce..070cdee7d5 100644
--- a/source4/lib/util/debug.c
+++ b/source4/lib/util/debug.c
@@ -102,7 +102,7 @@ _PUBLIC_ void do_debug_header(int level, const char *location, const char *func)
@note You should never have to call this function directly. Call the DEBUG()
macro instead.
*/
-_PUBLIC_ void do_debug(const char *format, ...) _PRINTF_ATTRIBUTE(1,2)
+_PUBLIC_ void do_debug(const char *format, ...)
{
va_list ap;
char *s = NULL;
diff --git a/source4/lib/util/debug.h b/source4/lib/util/debug.h
index 25b28b65e9..1895ed53ad 100644
--- a/source4/lib/util/debug.h
+++ b/source4/lib/util/debug.h
@@ -121,4 +121,4 @@ _PUBLIC_ void register_debug_handlers(const char *name, struct debug_ops *ops);
@note You should never have to call this function directly. Call the DEBUG()
macro instead.
*/
-_PUBLIC_ void do_debug(const char *format, ...) _PRINTF_ATTRIBUTE(1,2);
+_PUBLIC_ void do_debug(const char *format, ...) PRINTF_ATTRIBUTE(1,2);