summaryrefslogtreecommitdiffstats
path: root/sys/net/if_var.h
diff options
context:
space:
mode:
Diffstat (limited to 'sys/net/if_var.h')
-rw-r--r--sys/net/if_var.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/net/if_var.h b/sys/net/if_var.h
index 6124352..d811f22 100644
--- a/sys/net/if_var.h
+++ b/sys/net/if_var.h
@@ -807,7 +807,7 @@ void if_deregister_com_alloc(u_char type);
#ifdef DEVICE_POLLING
enum poll_cmd { POLL_ONLY, POLL_AND_CHECK_STATUS };
-typedef void poll_handler_t(struct ifnet *ifp, enum poll_cmd cmd, int count);
+typedef int poll_handler_t(struct ifnet *ifp, enum poll_cmd cmd, int count);
int ether_poll_register(poll_handler_t *h, struct ifnet *ifp);
int ether_poll_deregister(struct ifnet *ifp);
#endif /* DEVICE_POLLING */
OpenPOWER on IntegriCloud