Change interface cb parameter to function pointer

This commit is contained in:
Ludwig Ortmann 2013-08-21 15:10:24 +02:00
parent 395a033de6
commit 846bcc01a8

View File

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