Change interface cb parameter to function pointer
This commit is contained in:
parent
395a033de6
commit
846bcc01a8
@ -106,7 +106,7 @@ void nativenet_switch_to_rx()
|
||||
/* nativenet_internal.h *************************************************/
|
||||
/************************************************************************/
|
||||
|
||||
int _nativenet_register_cb(int event, void *func)
|
||||
int _nativenet_register_cb(int event, void (*func)(void))
|
||||
{
|
||||
if (event > NNEV_MAXEV) {
|
||||
DEBUG("_nativenet_register_cb: event > NNEV_MAXEV");
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user