RADIO: Make function declaration prototype
Add an explicit (void) to a functions without parameters, in its declarations, this makes it an actual prototypes which tells the compiler it gets no arguments, instead of an unknown number of arguments. This avoid possible build warnings, and possible missaligments in the callers. Signed-off-by: Alberto Escolar Piedras <alberto.escolar.piedras@nordicsemi.no>
This commit is contained in:
parent
123d37db9c
commit
7630b6947e
|
@ -18,7 +18,7 @@ void nhw_RADIO_TASK_CCASTART(void);
|
|||
void nhw_RADIO_TASK_CCASTOP(void);
|
||||
void nhw_RADIO_TASK_EDSTART(void);
|
||||
void nhw_RADIO_TASK_EDSTOP(void);
|
||||
void nhw_RADIO_TASK_STOP() ;
|
||||
void nhw_RADIO_TASK_STOP(void) ;
|
||||
void nhw_RADIO_TASK_DISABLE(void);
|
||||
void nhw_RADIO_TASK_RSSISTART(void);
|
||||
void nhw_RADIO_TASK_RSSISTOP(void);
|
||||
|
|
Loading…
Reference in New Issue