[make] add -Wstrict-prototypes and clean up old C style prototypes

replace all built versions of foo(); with foo(void);
This commit is contained in:
Travis Geiselbrecht
2013-06-19 14:21:53 -07:00
parent 98b4e0938e
commit 7643bc28c3
5 changed files with 6 additions and 6 deletions

View File

@@ -93,7 +93,7 @@ void debug_set_trace_level(int trace_type, int level)
*REG32(DEBUG_SET_TRACELEVEL_CPU + trace_type * 4) = level;
}
uint32_t debug_cycle_count()
uint32_t debug_cycle_count(void)
{
return *REG32(DEBUG_CYCLE_COUNT);
}