ps: fix compiler warnings
common.h:23:19: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] global.c:499:3: warning: ISO C does not support the '%Ld' gnu_printf format [-Wformat] output.c:134:1: warning: 'sr_cstime' defined but not used [-Wunused-function] output.c:816:3: warning: ISO C does not support the '%Lu' gnu_printf format [-Wformat] output.c:816:3: warning: ISO C does not support the '%Lu' gnu_printf format [-Wformat] Signed-off-by: Sami Kerola <kerolasa@iki.fi>
This commit is contained in:
@ -18,9 +18,9 @@
|
||||
#include "../proc/readproc.h"
|
||||
|
||||
#if 0
|
||||
#define trace(args...) printf(## args)
|
||||
#define trace(...) printf(## __VA_ARGS__)
|
||||
#else
|
||||
#define trace(args...)
|
||||
#define trace(...)
|
||||
#endif
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user