Author: metze Date: 2007-11-05 10:10:17 +0000 (Mon, 05 Nov 2007) New Revision: 25830
WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=25830 Log: fix compiler warning metze Modified: branches/SAMBA_4_0/source/lib/util/debug.c branches/SAMBA_4_0/source/lib/util/debug.h Changeset: Modified: branches/SAMBA_4_0/source/lib/util/debug.c =================================================================== --- branches/SAMBA_4_0/source/lib/util/debug.c 2007-11-05 07:09:41 UTC (rev 25829) +++ branches/SAMBA_4_0/source/lib/util/debug.c 2007-11-05 10:10:17 UTC (rev 25830) @@ -102,7 +102,7 @@ @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; Modified: branches/SAMBA_4_0/source/lib/util/debug.h =================================================================== --- branches/SAMBA_4_0/source/lib/util/debug.h 2007-11-05 07:09:41 UTC (rev 25829) +++ branches/SAMBA_4_0/source/lib/util/debug.h 2007-11-05 10:10:17 UTC (rev 25830) @@ -121,4 +121,4 @@ @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);
