From 18ae95e101160c1c10135f3dce76f8cd12541403 Mon Sep 17 00:00:00 2001 From: Thomas Bernard Date: Thu, 1 Jan 2015 19:39:08 +0100 Subject: [PATCH] miniupnpc-libevent.c: fix debug_printf() void definition --- miniupnpc-libevent/miniupnpc-libevent.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/miniupnpc-libevent/miniupnpc-libevent.c b/miniupnpc-libevent/miniupnpc-libevent.c index 4239b29..8fe9f62 100644 --- a/miniupnpc-libevent/miniupnpc-libevent.c +++ b/miniupnpc-libevent/miniupnpc-libevent.c @@ -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 * Copyright (c) 2008-2014, Thomas BERNARD * http://miniupnp.free.fr/ or http://miniupnp.tuxfamily.org/ @@ -62,7 +62,7 @@ #ifdef DEBUG #define debug_printf(...) fprintf(stderr, __VA_ARGS__) #else -#define debug_printf(...) (void) +#define debug_printf(...) (void)0 #endif /* compare the begining of a string with a constant string */