summaryrefslogtreecommitdiffstats
path: root/sys/dev/usb
diff options
context:
space:
mode:
authorphk <phk@FreeBSD.org>2000-05-03 07:31:38 +0000
committerphk <phk@FreeBSD.org>2000-05-03 07:31:38 +0000
commit62efea1e92f2c29489a4040c037e38803f1a1c84 (patch)
tree67c7876c6187318f0169bd07aaa625348cd52291 /sys/dev/usb
parent51a3d7f35d186fb5758fc6349a7f1ae3b2db7d1e (diff)
downloadFreeBSD-src-62efea1e92f2c29489a4040c037e38803f1a1c84.zip
FreeBSD-src-62efea1e92f2c29489a4040c037e38803f1a1c84.tar.gz
Remove 42 unneeded #include <sys/ioccom.h>.
ioccom.h defines only implementation detail, and should therefore only be included from the #include which defines the ioctl tags, in other words: never include it from *.c
Diffstat (limited to 'sys/dev/usb')
-rw-r--r--sys/dev/usb/ulpt.c1
-rw-r--r--sys/dev/usb/umodem.c1
2 files changed, 0 insertions, 2 deletions
diff --git a/sys/dev/usb/ulpt.c b/sys/dev/usb/ulpt.c
index 8c74207..cbbafb2 100644
--- a/sys/dev/usb/ulpt.c
+++ b/sys/dev/usb/ulpt.c
@@ -52,7 +52,6 @@
#include <sys/device.h>
#include <sys/ioctl.h>
#elif defined(__FreeBSD__)
-#include <sys/ioccom.h>
#include <sys/module.h>
#include <sys/bus.h>
#endif
diff --git a/sys/dev/usb/umodem.c b/sys/dev/usb/umodem.c
index 61cb24d..5b660f3 100644
--- a/sys/dev/usb/umodem.c
+++ b/sys/dev/usb/umodem.c
@@ -48,7 +48,6 @@
#elif defined(__FreeBSD__)
#include <sys/module.h>
#include <sys/bus.h>
-#include <sys/ioccom.h>
#endif
#include <sys/tty.h>
#include <sys/file.h>
OpenPOWER on IntegriCloud