coding guidelines: comply with MISRA C:2012 Rule 8.2
MISRA C:2012 Rule 8.2 (Function types shall be in prototype form with named parameters.) Added missing parameter names. Signed-off-by: Abramo Bagnara <abramo.bagnara@bugseng.com>
This commit is contained in:
parent
05ec016157
commit
d1d5acd2cd
5 changed files with 8 additions and 8 deletions
|
@ -96,11 +96,11 @@ static int console_out(int c)
|
|||
#endif
|
||||
|
||||
#if defined(CONFIG_STDOUT_CONSOLE)
|
||||
extern void __stdout_hook_install(int (*hook)(int));
|
||||
extern void __stdout_hook_install(int (*hook)(int c));
|
||||
#endif
|
||||
|
||||
#if defined(CONFIG_PRINTK)
|
||||
extern void __printk_hook_install(int (*fn)(int));
|
||||
extern void __printk_hook_install(int (*fn)(int c));
|
||||
#endif
|
||||
|
||||
#if defined(CONFIG_CONSOLE_HANDLER)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue