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:
Sami Kerola
2012-02-26 00:16:44 +01:00
committed by Craig Small
parent bd9abebd9f
commit 60ea600599
3 changed files with 4 additions and 5 deletions

View File

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