1
0
mirror of https://github.com/samba-team/samba.git synced 2025-02-23 09:57:40 +03:00

r25830: fix compiler warning

metze
(This used to be commit 26bfdff48779447a2f4b552c5af32abf2b8c4c45)
This commit is contained in:
Stefan Metzmacher 2007-11-05 10:10:17 +01:00
parent c559f0057f
commit 149190ff21
2 changed files with 2 additions and 2 deletions

View File

@ -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;

View File

@ -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);