[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:
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user