miniupnpc-libevent.c: fix debug_printf() void definition

This commit is contained in:
Thomas Bernard 2015-01-01 19:39:08 +01:00
parent bbb6df523d
commit 18ae95e101
1 changed files with 2 additions and 2 deletions

View File

@ -1,4 +1,4 @@
/* $Id: miniupnpc-libevent.c,v 1.21 2014/12/02 13:33:41 nanard Exp $ */ /* $Id: miniupnpc-libevent.c,v 1.24 2014/12/15 11:10:29 nanard Exp $ */
/* miniupnpc-libevent /* miniupnpc-libevent
* Copyright (c) 2008-2014, Thomas BERNARD <miniupnp@free.fr> * Copyright (c) 2008-2014, Thomas BERNARD <miniupnp@free.fr>
* http://miniupnp.free.fr/ or http://miniupnp.tuxfamily.org/ * http://miniupnp.free.fr/ or http://miniupnp.tuxfamily.org/
@ -62,7 +62,7 @@
#ifdef DEBUG #ifdef DEBUG
#define debug_printf(...) fprintf(stderr, __VA_ARGS__) #define debug_printf(...) fprintf(stderr, __VA_ARGS__)
#else #else
#define debug_printf(...) (void) #define debug_printf(...) (void)0
#endif #endif
/* compare the begining of a string with a constant string */ /* compare the begining of a string with a constant string */