diff --git a/src/trace.h b/src/trace.h index b614909..5922d5e 100644 --- a/src/trace.h +++ b/src/trace.h @@ -129,9 +129,9 @@ void trace_forceupdate(void); #define TRACE(severity, ...) trace_print(severity, __VA_ARGS__) #define TRACEFUNC(severity, ...) trace_printfunc(severity, __func__, __FILE__, TOSTRING(__LINE__), __VA_ARGS__) #define TRACEDUMP(severity, prefix, address, size) trace_dump(severity, prefix, address, size) -#define TRACE_INIT trace_init() +#define TRACE_INIT(a) trace_init() #define TRACE_ADDWEB(srv) trace_addweb(srv) -#define TRACE_POLL trace_poll() +#define TRACE_POLL(a) trace_poll() #define TRACE_FORCEUPDATE(a) trace_forceupdate() #else // DONT_USE_TRACE @@ -139,9 +139,9 @@ void trace_forceupdate(void); #define TRACE(...) ((void)0) // from assert.h "NOP" - http://stackoverflow.com/questions/9187628/c-empty-function-macros #define TRACEFUNC(...) ((void)0) #define TRACEDUMP(...) ((void)0) -#define TRACE_INIT ((void)0) +#define TRACE_INIT(a) ((void)0) #define TRACE_ADDWEB(a) ((void)0) -#define TRACE_POLL ((void)0) +#define TRACE_POLL(a) ((void)0) #define TRACE_FORCEUPDATE(a) ((void)0) #endif // DONT_USE_TRACE