toolbox: uptime: fix unused parameter warnings

Change-Id: Id240ce85bf09e1a81f4e2e2a7496ac7952edbf38
Signed-off-by: Greg Hackmann <ghackmann@google.com>
This commit is contained in:
Greg Hackmann 2013-12-17 13:55:47 -08:00
parent 64289760a2
commit 7f625ed026

View file

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