summaryrefslogtreecommitdiffstats
path: root/sys
diff options
context:
space:
mode:
authorwollman <wollman@FreeBSD.org>2001-01-20 02:24:07 +0000
committerwollman <wollman@FreeBSD.org>2001-01-20 02:24:07 +0000
commit0fbfe85a3cf3589f4e05372bfa862cefce00e2aa (patch)
treee659ad1bed142e07d22975dff2999f17c7b71294 /sys
parenta11e21597d3b3fd5943eab7683f1b2f629e945d6 (diff)
downloadFreeBSD-src-0fbfe85a3cf3589f4e05372bfa862cefce00e2aa.zip
FreeBSD-src-0fbfe85a3cf3589f4e05372bfa862cefce00e2aa.tar.gz
Finish deprecating <sys/select.h> in favor of <sys/selinfo.h> in kernel code.
Diffstat (limited to 'sys')
-rw-r--r--sys/compat/svr4/svr4_stream.c1
-rw-r--r--sys/dev/bktr/bktr_i2c.c5
-rw-r--r--sys/dev/mse/mse.c2
-rw-r--r--sys/i386/isa/asc.c2
-rw-r--r--sys/i386/isa/mse.c2
-rw-r--r--sys/i386/isa/tw.c2
-rw-r--r--sys/i4b/layer4/i4b_i4bdrv.c4
-rw-r--r--sys/pc98/pc98/mse.c2
8 files changed, 14 insertions, 6 deletions
diff --git a/sys/compat/svr4/svr4_stream.c b/sys/compat/svr4/svr4_stream.c
index 750e9c9..6bf2155 100644
--- a/sys/compat/svr4/svr4_stream.c
+++ b/sys/compat/svr4/svr4_stream.c
@@ -46,7 +46,6 @@
#include <sys/filedesc.h>
#include <sys/fcntl.h>
#include <sys/filio.h>
-#include <sys/select.h>
#include <sys/socket.h>
#include <sys/socketvar.h>
#include <sys/un.h>
diff --git a/sys/dev/bktr/bktr_i2c.c b/sys/dev/bktr/bktr_i2c.c
index 0979db9..4f61e5c 100644
--- a/sys/dev/bktr/bktr_i2c.c
+++ b/sys/dev/bktr/bktr_i2c.c
@@ -41,7 +41,12 @@
#include <sys/module.h>
#include <sys/bus.h>
#include <sys/uio.h>
+
+#if __FreeBSD_version >= 500014
+#include <sys/selinfo.h>
+#else
#include <sys/select.h>
+#endif
#if (__FreeBSD_version < 500000)
#include <machine/clock.h> /* for DELAY */
diff --git a/sys/dev/mse/mse.c b/sys/dev/mse/mse.c
index dbf72cc..9268574 100644
--- a/sys/dev/mse/mse.c
+++ b/sys/dev/mse/mse.c
@@ -50,7 +50,7 @@
#include <sys/kernel.h>
#include <sys/bus.h>
#include <sys/poll.h>
-#include <sys/select.h>
+#include <sys/selinfo.h>
#include <sys/uio.h>
#include <sys/mouse.h>
diff --git a/sys/i386/isa/asc.c b/sys/i386/isa/asc.c
index 8b09619..086e0c0 100644
--- a/sys/i386/isa/asc.c
+++ b/sys/i386/isa/asc.c
@@ -45,7 +45,7 @@
#include <sys/malloc.h>
#include <sys/kernel.h>
#include <sys/poll.h>
-#include <sys/select.h>
+#include <sys/selinfo.h>
#include <sys/uio.h>
#include <sys/bus.h>
diff --git a/sys/i386/isa/mse.c b/sys/i386/isa/mse.c
index dbf72cc..9268574 100644
--- a/sys/i386/isa/mse.c
+++ b/sys/i386/isa/mse.c
@@ -50,7 +50,7 @@
#include <sys/kernel.h>
#include <sys/bus.h>
#include <sys/poll.h>
-#include <sys/select.h>
+#include <sys/selinfo.h>
#include <sys/uio.h>
#include <sys/mouse.h>
diff --git a/sys/i386/isa/tw.c b/sys/i386/isa/tw.c
index 212c064..037e943 100644
--- a/sys/i386/isa/tw.c
+++ b/sys/i386/isa/tw.c
@@ -146,7 +146,7 @@
#include <sys/conf.h>
#include <sys/uio.h>
#include <sys/syslog.h>
-#include <sys/select.h>
+#include <sys/selinfo.h>
#include <sys/poll.h>
#include <sys/bus.h>
#define MIN(a,b) ((a)<(b)?(a):(b))
diff --git a/sys/i4b/layer4/i4b_i4bdrv.c b/sys/i4b/layer4/i4b_i4bdrv.c
index 3aef6cb..156260e 100644
--- a/sys/i4b/layer4/i4b_i4bdrv.c
+++ b/sys/i4b/layer4/i4b_i4bdrv.c
@@ -58,7 +58,11 @@
#include <sys/conf.h>
#include <sys/mbuf.h>
#include <sys/socket.h>
+#if __FreeBSD_version >= 500014
+#include <sys/selinfo.h>
+#else
#include <sys/select.h>
+#endif
#include <net/if.h>
#ifdef __NetBSD__
diff --git a/sys/pc98/pc98/mse.c b/sys/pc98/pc98/mse.c
index 3b8ee54..56eeab9 100644
--- a/sys/pc98/pc98/mse.c
+++ b/sys/pc98/pc98/mse.c
@@ -50,7 +50,7 @@
#include <sys/kernel.h>
#include <sys/bus.h>
#include <sys/poll.h>
-#include <sys/select.h>
+#include <sys/selinfo.h>
#include <sys/uio.h>
#include <machine/bus.h>
OpenPOWER on IntegriCloud