Fix compiler warning

This commit is contained in:
Andrew Bettison 2013-11-21 16:49:44 +10:30
parent 003603b97c
commit 8c06881fa3
2 changed files with 2 additions and 2 deletions

View File

@ -2484,7 +2484,7 @@ int app_reverse_lookup(const struct cli_parsed *parsed, struct cli_context *cont
return 1; return 1;
} }
int context_switch_test(int); void context_switch_test(int);
int app_mem_test(const struct cli_parsed *parsed, struct cli_context *context) int app_mem_test(const struct cli_parsed *parsed, struct cli_context *context)
{ {
int mem_size; int mem_size;

View File

@ -38,7 +38,7 @@ void report()
stop_timing=1; stop_timing=1;
} }
int context_switch_test(int duration) void context_switch_test(int duration)
{ {
unsigned long check; unsigned long check;
int p1[2], p2[2]; int p1[2], p2[2];