From 7f625ed026006fafeaec49e21e34ee18ac28dbc3 Mon Sep 17 00:00:00 2001 From: Greg Hackmann Date: Tue, 17 Dec 2013 13:55:47 -0800 Subject: toolbox: uptime: fix unused parameter warnings Change-Id: Id240ce85bf09e1a81f4e2e2a7496ac7952edbf38 Signed-off-by: Greg Hackmann --- toolbox/uptime.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/toolbox/uptime.c b/toolbox/uptime.c index 1c312b0..455e7be 100644 --- a/toolbox/uptime.c +++ b/toolbox/uptime.c @@ -71,7 +71,8 @@ int64_t elapsedRealtime() return -1; } -int uptime_main(int argc, char *argv[]) +int uptime_main(int argc __attribute__((unused)), + char *argv[] __attribute__((unused))) { float up_time, idle_time; char up_string[100], idle_string[100], sleep_string[100]; -- cgit v1.1