summaryrefslogtreecommitdiffstats
path: root/sys/dev/usb/uscanner.c
diff options
context:
space:
mode:
authorjoe <joe@FreeBSD.org>2002-01-02 16:33:53 +0000
committerjoe <joe@FreeBSD.org>2002-01-02 16:33:53 +0000
commitb7218f93dc375ffb8587a39aec1dd9673e1cdd0d (patch)
tree8e42e13bc7d524abcb88c0d18fe353eb8239fdb2 /sys/dev/usb/uscanner.c
parent205784642b3c46f1f017271c18a02c23a15089b8 (diff)
downloadFreeBSD-src-b7218f93dc375ffb8587a39aec1dd9673e1cdd0d.zip
FreeBSD-src-b7218f93dc375ffb8587a39aec1dd9673e1cdd0d.tar.gz
NetBSD have introduced usb_proc_ptr for us (they'll be needing it soon too)
to hide the distinction between struct proc and struct thread.
Diffstat (limited to 'sys/dev/usb/uscanner.c')
-rw-r--r--sys/dev/usb/uscanner.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/sys/dev/usb/uscanner.c b/sys/dev/usb/uscanner.c
index 9bac9b1..3baadbf 100644
--- a/sys/dev/usb/uscanner.c
+++ b/sys/dev/usb/uscanner.c
@@ -326,11 +326,11 @@ USB_ATTACH(uscanner)
}
int
-uscanneropen(dev, flag, mode, td)
+uscanneropen(dev, flag, mode, p)
dev_t dev;
int flag;
int mode;
- struct thread *td;
+ usb_proc_ptr p;
{
struct uscanner_softc *sc;
int unit = USCANNERUNIT(dev);
@@ -389,11 +389,11 @@ uscanneropen(dev, flag, mode, td)
}
int
-uscannerclose(dev, flag, mode, td)
+uscannerclose(dev, flag, mode, p)
dev_t dev;
int flag;
int mode;
- struct thread *td;
+ usb_proc_ptr p;
{
struct uscanner_softc *sc;
@@ -640,10 +640,10 @@ USB_DETACH(uscanner)
}
int
-uscannerpoll(dev, events, td)
+uscannerpoll(dev, events, p)
dev_t dev;
int events;
- struct thread *td;
+ usb_proc_ptr p;
{
struct uscanner_softc *sc;
int revents = 0;
OpenPOWER on IntegriCloud