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:
Abramo Bagnara 2021-11-14 14:15:46 +01:00 committed by Anas Nashif
commit d1d5acd2cd
5 changed files with 8 additions and 8 deletions

View file

@ -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)