summaryrefslogtreecommitdiff
path: root/source4/lib
diff options
context:
space:
mode:
Diffstat (limited to 'source4/lib')
-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);