diff options
author | n_hibma <n_hibma@FreeBSD.org> | 2000-07-17 18:41:20 +0000 |
---|---|---|
committer | n_hibma <n_hibma@FreeBSD.org> | 2000-07-17 18:41:20 +0000 |
commit | 66ea27ead1b92a8730555578c119d6f134ff8eb9 (patch) | |
tree | e5381d85afaac8614a52e652d0b23f4007e4b92f /sys/dev/usb/ugen.c | |
parent | cb5f5af3e064bdc4df0430305632db96551d5fa3 (diff) | |
download | FreeBSD-src-66ea27ead1b92a8730555578c119d6f134ff8eb9.zip FreeBSD-src-66ea27ead1b92a8730555578c119d6f134ff8eb9.tar.gz |
Remove __P prototypes to reduce diffs between the NetBSD and FreeBSD
versions.
Diffstat (limited to 'sys/dev/usb/ugen.c')
-rw-r--r-- | sys/dev/usb/ugen.c | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/sys/dev/usb/ugen.c b/sys/dev/usb/ugen.c index e504995..ccac667 100644 --- a/sys/dev/usb/ugen.c +++ b/sys/dev/usb/ugen.c @@ -135,18 +135,18 @@ Static struct cdevsw ugen_cdevsw = { }; #endif -Static void ugenintr __P((usbd_xfer_handle xfer, usbd_private_handle addr, - usbd_status status)); - -Static int ugen_do_read __P((struct ugen_softc *, int, struct uio *, int)); -Static int ugen_do_write __P((struct ugen_softc *, int, struct uio *, int)); -Static int ugen_do_ioctl __P((struct ugen_softc *, int, u_long, - caddr_t, int, struct proc *)); -Static int ugen_set_config __P((struct ugen_softc *sc, int configno)); -Static usb_config_descriptor_t *ugen_get_cdesc __P((struct ugen_softc *sc, - int index, int *lenp)); -Static usbd_status ugen_set_interface __P((struct ugen_softc *, int, int)); -Static int ugen_get_alt_index __P((struct ugen_softc *sc, int ifaceidx)); +Static void ugenintr(usbd_xfer_handle xfer, usbd_private_handle addr, + usbd_status status); + +Static int ugen_do_read(struct ugen_softc *, int, struct uio *, int); +Static int ugen_do_write(struct ugen_softc *, int, struct uio *, int); +Static int ugen_do_ioctl(struct ugen_softc *, int, u_long, + caddr_t, int, struct proc *); +Static int ugen_set_config(struct ugen_softc *sc, int configno); +Static usb_config_descriptor_t *ugen_get_cdesc(struct ugen_softc *sc, + int index, int *lenp); +Static usbd_status ugen_set_interface(struct ugen_softc *, int, int); +Static int ugen_get_alt_index(struct ugen_softc *sc, int ifaceidx); #define UGENUNIT(n) ((minor(n) >> 4) & 0xf) #define UGENENDPOINT(n) (minor(n) & 0xf) |