summaryrefslogtreecommitdiffstats
path: root/sys/dev/usb
diff options
context:
space:
mode:
authorhselasky <hselasky@FreeBSD.org>2013-02-25 10:57:35 +0000
committerhselasky <hselasky@FreeBSD.org>2013-02-25 10:57:35 +0000
commit14920d090fb25c93fcea3e7d80000cc87f31fffb (patch)
treed9cbe88ffd6f8d63e02f70a6a740d72304aa59e0 /sys/dev/usb
parent97adaace52a71eef468c5b1b4cf7df49d5c159d7 (diff)
downloadFreeBSD-src-14920d090fb25c93fcea3e7d80000cc87f31fffb.zip
FreeBSD-src-14920d090fb25c93fcea3e7d80000cc87f31fffb.tar.gz
Fix init/uninit function type.
Diffstat (limited to 'sys/dev/usb')
-rw-r--r--sys/dev/usb/usb_pf.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/sys/dev/usb/usb_pf.c b/sys/dev/usb/usb_pf.c
index 98705eb..d849a13 100644
--- a/sys/dev/usb/usb_pf.c
+++ b/sys/dev/usb/usb_pf.c
@@ -63,8 +63,8 @@
#include <dev/usb/usb_transfer.h>
#endif /* USB_GLOBAL_INCLUDE_FILE */
-static void usbpf_init(void);
-static void usbpf_uninit(void);
+static void usbpf_init(void *);
+static void usbpf_uninit(void *);
static int usbpf_ioctl(struct ifnet *, u_long, caddr_t);
static int usbpf_clone_match(struct if_clone *, const char *);
static int usbpf_clone_create(struct if_clone *, char *, size_t, caddr_t);
@@ -82,7 +82,7 @@ SYSINIT(usbpf_init, SI_SUB_PSEUDO, SI_ORDER_MIDDLE, usbpf_init, NULL);
SYSUNINIT(usbpf_uninit, SI_SUB_PSEUDO, SI_ORDER_MIDDLE, usbpf_uninit, NULL);
static void
-usbpf_init(void)
+usbpf_init(void *arg)
{
usbpf_cloner = if_clone_advanced(usbusname, 0, usbpf_clone_match,
@@ -90,7 +90,7 @@ usbpf_init(void)
}
static void
-usbpf_uninit(void)
+usbpf_uninit(void *arg)
{
int devlcnt;
device_t *devlp;
OpenPOWER on IntegriCloud