diff --git a/cpu/native/net/interface.c b/cpu/native/net/interface.c index 9da1413cd0..aab38196fe 100644 --- a/cpu/native/net/interface.c +++ b/cpu/native/net/interface.c @@ -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");