summaryrefslogtreecommitdiff
path: root/sys/dev/usb/umodem.c
diff options
context:
space:
mode:
authorMarc Balmer <mbalmer@cvs.openbsd.org>2007-06-11 16:30:32 +0000
committerMarc Balmer <mbalmer@cvs.openbsd.org>2007-06-11 16:30:32 +0000
commitf3bdb4c79dfa8e8b3fcffbba0bd2a66deebd5f50 (patch)
tree52505d692be27f64c341ea43630236d698503ff2 /sys/dev/usb/umodem.c
parent297cbd0761cc279ca01eac525d9e8289d5eb9603 (diff)
Remove the usb_proc_ptr type definition, which was really a 'struct proc *'
only. No binary change. ok mk.
Diffstat (limited to 'sys/dev/usb/umodem.c')
-rw-r--r--sys/dev/usb/umodem.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/dev/usb/umodem.c b/sys/dev/usb/umodem.c
index cbb8205da3d..fdc836953af 100644
--- a/sys/dev/usb/umodem.c
+++ b/sys/dev/usb/umodem.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: umodem.c,v 1.29 2007/06/10 14:49:01 mbalmer Exp $ */
+/* $OpenBSD: umodem.c,v 1.30 2007/06/11 16:30:31 mbalmer Exp $ */
/* $NetBSD: umodem.c,v 1.45 2002/09/23 05:51:23 simonb Exp $ */
/*
@@ -134,7 +134,7 @@ void umodem_rts(struct umodem_softc *, int);
void umodem_break(struct umodem_softc *, int);
void umodem_set_line_state(struct umodem_softc *);
int umodem_param(void *, int, struct termios *);
-int umodem_ioctl(void *, int, u_long, caddr_t, int, usb_proc_ptr);
+int umodem_ioctl(void *, int, u_long, caddr_t, int, struct proc *);
int umodem_open(void *, int portno);
void umodem_close(void *, int portno);
void umodem_intr(usbd_xfer_handle, usbd_private_handle, usbd_status);
@@ -541,7 +541,7 @@ umodem_param(void *addr, int portno, struct termios *t)
int
umodem_ioctl(void *addr, int portno, u_long cmd, caddr_t data, int flag,
- usb_proc_ptr p)
+ struct proc *p)
{
struct umodem_softc *sc = addr;
int error = 0;