diff options
| author | Garrett Wollman <wollman@FreeBSD.org> | 2001-01-09 04:33:49 +0000 |
|---|---|---|
| committer | Garrett Wollman <wollman@FreeBSD.org> | 2001-01-09 04:33:49 +0000 |
| commit | 0a2c3d48c6383833e24ee0f978460e00fefa6b28 (patch) | |
| tree | 5c6f7c513b772c92726ed4413919063668e7b74e /sys | |
| parent | d31a0944a12fab2b41735ba6a46d483b4e7d9c2e (diff) | |
Notes
Diffstat (limited to 'sys')
37 files changed, 65 insertions, 23 deletions
diff --git a/sys/dev/atkbdc/psm.c b/sys/dev/atkbdc/psm.c index 77fa52178930c..6b670ea72a428 100644 --- a/sys/dev/atkbdc/psm.c +++ b/sys/dev/atkbdc/psm.c @@ -73,7 +73,7 @@ #include <sys/syslog.h> #include <machine/bus.h> #include <sys/rman.h> -#include <sys/select.h> +#include <sys/selinfo.h> #include <sys/uio.h> #include <machine/limits.h> diff --git a/sys/dev/bktr/bktr_os.c b/sys/dev/bktr/bktr_os.c index 6ed546e053d29..0f8110f096d9e 100644 --- a/sys/dev/bktr/bktr_os.c +++ b/sys/dev/bktr/bktr_os.c @@ -71,7 +71,11 @@ #include <sys/signalvar.h> #include <sys/mman.h> #include <sys/poll.h> +#if __FreeBSD_version >= 500014 +#include <sys/selinfo.h> +#else #include <sys/select.h> +#endif #include <sys/vnode.h> #include <vm/vm.h> diff --git a/sys/dev/ed/if_ed_pccard.c b/sys/dev/ed/if_ed_pccard.c index 0b74a2d797889..7763fb7dbca90 100644 --- a/sys/dev/ed/if_ed_pccard.c +++ b/sys/dev/ed/if_ed_pccard.c @@ -33,7 +33,6 @@ #include <sys/kernel.h> #include <sys/conf.h> #include <sys/uio.h> -#include <sys/select.h> #include <sys/module.h> #include <sys/bus.h> diff --git a/sys/dev/ncv/ncr53c500_pccard.c b/sys/dev/ncv/ncr53c500_pccard.c index ed0da2051d858..12e4f71e118f1 100644 --- a/sys/dev/ncv/ncr53c500_pccard.c +++ b/sys/dev/ncv/ncr53c500_pccard.c @@ -87,7 +87,9 @@ extern struct ncv_softc *ncvdata[]; #if NCARD > 0 #include <sys/kernel.h> #include <sys/module.h> +#if !defined(__FreeBSD__) || __FreeBSD_version < 500014 #include <sys/select.h> +#endif #include <pccard/cardinfo.h> #include <pccard/slot.h> diff --git a/sys/dev/nsp/nsp_pccard.c b/sys/dev/nsp/nsp_pccard.c index d4914ebe668f0..d0a5b968354c1 100644 --- a/sys/dev/nsp/nsp_pccard.c +++ b/sys/dev/nsp/nsp_pccard.c @@ -83,7 +83,9 @@ extern struct nsp_softc *nspdata[]; #if NCARD > 0 #include <sys/kernel.h> #include <sys/module.h> +#if !defined(__FreeBSD__) || __FreeBSD_version < 500014 #include <sys/select.h> +#endif #include <pccard/cardinfo.h> #include <pccard/slot.h> diff --git a/sys/dev/random/harvest.c b/sys/dev/random/harvest.c index 89a636887bffe..60067dca19f1b 100644 --- a/sys/dev/random/harvest.c +++ b/sys/dev/random/harvest.c @@ -33,7 +33,7 @@ #include <sys/kthread.h> #include <sys/mutex.h> #include <sys/poll.h> -#include <sys/select.h> +#include <sys/selinfo.h> #include <sys/random.h> #include <machine/cpu.h> diff --git a/sys/dev/random/randomdev.c b/sys/dev/random/randomdev.c index 6c9ee849034aa..5a39b86e7a074 100644 --- a/sys/dev/random/randomdev.c +++ b/sys/dev/random/randomdev.c @@ -37,7 +37,7 @@ #include <sys/module.h> #include <sys/bus.h> #include <sys/poll.h> -#include <sys/select.h> +#include <sys/selinfo.h> #include <sys/random.h> #include <sys/vnode.h> #include <machine/bus.h> diff --git a/sys/dev/random/yarrow.c b/sys/dev/random/yarrow.c index 34d1b90fc4e70..d50dcfaaed30e 100644 --- a/sys/dev/random/yarrow.c +++ b/sys/dev/random/yarrow.c @@ -36,7 +36,7 @@ #include <sys/kthread.h> #include <sys/libkern.h> #include <sys/mutex.h> -#include <sys/select.h> +#include <sys/selinfo.h> #include <sys/random.h> #include <sys/types.h> #include <sys/unistd.h> diff --git a/sys/dev/stg/tmc18c30_isa.c b/sys/dev/stg/tmc18c30_isa.c index 67fb6b62e42b9..6fe5523d8bcae 100644 --- a/sys/dev/stg/tmc18c30_isa.c +++ b/sys/dev/stg/tmc18c30_isa.c @@ -77,7 +77,6 @@ #include <sys/kernel.h> #include <sys/module.h> -#include <sys/select.h> static int stgprobe(device_t devi); static int stgattach(device_t devi); diff --git a/sys/dev/stg/tmc18c30_pccard.c b/sys/dev/stg/tmc18c30_pccard.c index 574fbb27c82b2..e6ceb6f821b8f 100644 --- a/sys/dev/stg/tmc18c30_pccard.c +++ b/sys/dev/stg/tmc18c30_pccard.c @@ -88,7 +88,9 @@ extern struct stg_softc *stgdata[]; #if NCARD > 0 #include <sys/kernel.h> #include <sys/module.h> +#if !defined(__FreeBSD__) || __FreeBSD_version < 500014 #include <sys/select.h> +#endif #include <pccard/cardinfo.h> #include <pccard/slot.h> diff --git a/sys/dev/syscons/apm/apm_saver.c b/sys/dev/syscons/apm/apm_saver.c index fa2047ff3e19d..f4464ca643071 100644 --- a/sys/dev/syscons/apm/apm_saver.c +++ b/sys/dev/syscons/apm/apm_saver.c @@ -39,7 +39,7 @@ #include <dev/fb/splashreg.h> #include <dev/syscons/syscons.h> -#include <sys/select.h> +#include <sys/selinfo.h> #include <machine/apm_bios.h> #include <machine/pc/bios.h> #include <i386/apm/apm.h> diff --git a/sys/dev/usb/udbp.c b/sys/dev/usb/udbp.c index a7bcac0b8426f..15ca63ec8cdf8 100644 --- a/sys/dev/usb/udbp.c +++ b/sys/dev/usb/udbp.c @@ -77,7 +77,11 @@ #include <sys/bus.h> #include <sys/conf.h> #include <sys/file.h> +#if __FreeBSD_version >= 500014 +#include <sys/selinfo.h> +#else #include <sys/select.h> +#endif #include <sys/poll.h> #include <sys/mbuf.h> #include <sys/socket.h> diff --git a/sys/dev/usb/ugen.c b/sys/dev/usb/ugen.c index bd420cce08505..d318f13e6e9b3 100644 --- a/sys/dev/usb/ugen.c +++ b/sys/dev/usb/ugen.c @@ -56,7 +56,11 @@ #endif #include <sys/tty.h> #include <sys/file.h> +#if __FreeBSD_version >= 500014 +#include <sys/selinfo.h> +#else #include <sys/select.h> +#endif #include <sys/vnode.h> #include <sys/poll.h> diff --git a/sys/dev/usb/uhid.c b/sys/dev/usb/uhid.c index dd2a85e9909ea..1cdd455ff9371 100644 --- a/sys/dev/usb/uhid.c +++ b/sys/dev/usb/uhid.c @@ -60,7 +60,11 @@ #endif #include <sys/conf.h> #include <sys/tty.h> +#if __FreeBSD_version >= 500014 +#include <sys/selinfo.h> +#else #include <sys/select.h> +#endif #include <sys/proc.h> #include <sys/vnode.h> #include <sys/poll.h> diff --git a/sys/dev/usb/ukbd.c b/sys/dev/usb/ukbd.c index e0d78d303b455..9f3143ae0c427 100644 --- a/sys/dev/usb/ukbd.c +++ b/sys/dev/usb/ukbd.c @@ -51,7 +51,11 @@ #include <sys/module.h> #include <sys/bus.h> #include <sys/file.h> +#if __FreeBSD_version >= 500014 +#include <sys/selinfo.h> +#else #include <sys/select.h> +#endif #include <sys/vnode.h> #include <dev/usb/usb.h> diff --git a/sys/dev/usb/umodem.c b/sys/dev/usb/umodem.c index 3cbfa0d3e70c4..c8d43460e4a8b 100644 --- a/sys/dev/usb/umodem.c +++ b/sys/dev/usb/umodem.c @@ -66,7 +66,11 @@ #include <sys/tty.h> #include <sys/clist.h> #include <sys/file.h> +#if __FreeBSD_version >= 500014 +#include <sys/selinfo.h> +#else #include <sys/select.h> +#endif #include <sys/proc.h> #include <sys/vnode.h> #include <sys/poll.h> diff --git a/sys/dev/usb/ums.c b/sys/dev/usb/ums.c index 7096fa86c9d13..16327823f2107 100644 --- a/sys/dev/usb/ums.c +++ b/sys/dev/usb/ums.c @@ -51,7 +51,11 @@ #include <sys/conf.h> #include <sys/tty.h> #include <sys/file.h> +#if __FreeBSD_version >= 500014 +#include <sys/selinfo.h> +#else #include <sys/select.h> +#endif #include <sys/vnode.h> #include <sys/poll.h> diff --git a/sys/dev/usb/urio.c b/sys/dev/usb/urio.c index 8dd4c6300dffb..4cb4dffbcd996 100644 --- a/sys/dev/usb/urio.c +++ b/sys/dev/usb/urio.c @@ -60,7 +60,11 @@ #include <sys/uio.h> #include <sys/tty.h> #include <sys/file.h> +#if __FreeBSD_version >= 500014 +#include <sys/selinfo.h> +#else #include <sys/select.h> +#endif #include <sys/vnode.h> #include <sys/poll.h> diff --git a/sys/dev/usb/usb.c b/sys/dev/usb/usb.c index 0767649e58f9a..46f1eb1fdfcc2 100644 --- a/sys/dev/usb/usb.c +++ b/sys/dev/usb/usb.c @@ -60,7 +60,11 @@ #endif #include <sys/conf.h> #include <sys/poll.h> +#if __FreeBSD_version >= 500014 +#include <sys/selinfo.h> +#else #include <sys/select.h> +#endif #include <sys/vnode.h> #include <sys/signalvar.h> diff --git a/sys/dev/usb/uscanner.c b/sys/dev/usb/uscanner.c index b89152f12cad3..18b7aebf91481 100644 --- a/sys/dev/usb/uscanner.c +++ b/sys/dev/usb/uscanner.c @@ -55,7 +55,11 @@ #endif #include <sys/tty.h> #include <sys/file.h> +#if __FreeBSD_version >= 500014 +#include <sys/selinfo.h> +#else #include <sys/select.h> +#endif #include <sys/proc.h> #include <sys/vnode.h> #include <sys/poll.h> diff --git a/sys/dev/xe/if_xe.c b/sys/dev/xe/if_xe.c index 0aaed442187bc..598ceb3896807 100644 --- a/sys/dev/xe/if_xe.c +++ b/sys/dev/xe/if_xe.c @@ -113,7 +113,6 @@ #include <sys/errno.h> #include <sys/kernel.h> #include <sys/mbuf.h> -#include <sys/select.h> #include <sys/socket.h> #include <sys/sockio.h> #include <sys/systm.h> diff --git a/sys/i386/apm/apm.c b/sys/i386/apm/apm.c index d5c67b5543727..adf26f0fc3cc5 100644 --- a/sys/i386/apm/apm.c +++ b/sys/i386/apm/apm.c @@ -26,7 +26,7 @@ #include <sys/time.h> #include <sys/reboot.h> #include <sys/bus.h> -#include <sys/select.h> +#include <sys/selinfo.h> #include <sys/poll.h> #include <sys/fcntl.h> #include <sys/uio.h> diff --git a/sys/i386/bios/apm.c b/sys/i386/bios/apm.c index d5c67b5543727..adf26f0fc3cc5 100644 --- a/sys/i386/bios/apm.c +++ b/sys/i386/bios/apm.c @@ -26,7 +26,7 @@ #include <sys/time.h> #include <sys/reboot.h> #include <sys/bus.h> -#include <sys/select.h> +#include <sys/selinfo.h> #include <sys/poll.h> #include <sys/fcntl.h> #include <sys/uio.h> diff --git a/sys/isa/psm.c b/sys/isa/psm.c index 77fa52178930c..6b670ea72a428 100644 --- a/sys/isa/psm.c +++ b/sys/isa/psm.c @@ -73,7 +73,7 @@ #include <sys/syslog.h> #include <machine/bus.h> #include <sys/rman.h> -#include <sys/select.h> +#include <sys/selinfo.h> #include <sys/uio.h> #include <machine/limits.h> diff --git a/sys/kern/kern_event.c b/sys/kern/kern_event.c index 56e818a677a7c..1a89d32488967 100644 --- a/sys/kern/kern_event.c +++ b/sys/kern/kern_event.c @@ -34,7 +34,7 @@ #include <sys/unistd.h> #include <sys/file.h> #include <sys/fcntl.h> -#include <sys/select.h> +#include <sys/selinfo.h> #include <sys/queue.h> #include <sys/event.h> #include <sys/eventvar.h> diff --git a/sys/kern/sys_generic.c b/sys/kern/sys_generic.c index 555cb6803d435..ec3f7f478dcbe 100644 --- a/sys/kern/sys_generic.c +++ b/sys/kern/sys_generic.c @@ -55,6 +55,7 @@ #include <sys/kernel.h> #include <sys/malloc.h> #include <sys/poll.h> +#include <sys/selinfo.h> #include <sys/sysctl.h> #include <sys/sysent.h> #include <sys/bio.h> diff --git a/sys/kern/sys_pipe.c b/sys/kern/sys_pipe.c index 3b944dd9cdec7..a892cbb7bbf31 100644 --- a/sys/kern/sys_pipe.c +++ b/sys/kern/sys_pipe.c @@ -59,7 +59,7 @@ #include <sys/ttycom.h> #include <sys/stat.h> #include <sys/poll.h> -#include <sys/select.h> +#include <sys/selinfo.h> #include <sys/signalvar.h> #include <sys/sysproto.h> #include <sys/pipe.h> diff --git a/sys/modules/syscons/apm/apm_saver.c b/sys/modules/syscons/apm/apm_saver.c index fa2047ff3e19d..f4464ca643071 100644 --- a/sys/modules/syscons/apm/apm_saver.c +++ b/sys/modules/syscons/apm/apm_saver.c @@ -39,7 +39,7 @@ #include <dev/fb/splashreg.h> #include <dev/syscons/syscons.h> -#include <sys/select.h> +#include <sys/selinfo.h> #include <machine/apm_bios.h> #include <machine/pc/bios.h> #include <i386/apm/apm.h> diff --git a/sys/net/bpfdesc.h b/sys/net/bpfdesc.h index de3dfb9058eec..49e3f35877658 100644 --- a/sys/net/bpfdesc.h +++ b/sys/net/bpfdesc.h @@ -43,7 +43,7 @@ #ifndef _NET_BPFDESC_H_ #define _NET_BPFDESC_H_ -#include <sys/select.h> +#include <sys/selinfo.h> /* * Descriptor associated with each open bpf file. diff --git a/sys/pccard/pccard.c b/sys/pccard/pccard.c index 27f7af2b096bd..62f0f73853941 100644 --- a/sys/pccard/pccard.c +++ b/sys/pccard/pccard.c @@ -37,7 +37,6 @@ #include <sys/systm.h> #include <sys/kernel.h> #include <sys/malloc.h> -#include <sys/select.h> #include <sys/sysctl.h> #include <sys/conf.h> #include <sys/uio.h> diff --git a/sys/pccard/pccard_nbk.c b/sys/pccard/pccard_nbk.c index 40cb7d8a03119..c610a8bb6c8e8 100644 --- a/sys/pccard/pccard_nbk.c +++ b/sys/pccard/pccard_nbk.c @@ -54,7 +54,6 @@ #include <sys/module.h> #include <sys/kernel.h> #include <sys/queue.h> -#include <sys/select.h> #include <sys/types.h> #include <sys/bus.h> diff --git a/sys/pccard/pcic.c b/sys/pccard/pcic.c index 4cc58cb33427d..df546881ff839 100644 --- a/sys/pccard/pcic.c +++ b/sys/pccard/pcic.c @@ -35,8 +35,6 @@ #include <sys/systm.h> #include <sys/kernel.h> #include <sys/module.h> -#include <sys/select.h> - #include <pccard/i82365.h> #include <pccard/cardinfo.h> diff --git a/sys/pccard/slot.h b/sys/pccard/slot.h index 6221b4c2ae1e2..edd140004b733 100644 --- a/sys/pccard/slot.h +++ b/sys/pccard/slot.h @@ -47,6 +47,8 @@ #include <sys/rman.h> #include <machine/resource.h> +#include <sys/selinfo.h> + /* * Controller data - Specific to each slot controller. */ diff --git a/sys/sys/pipe.h b/sys/sys/pipe.h index 7dec8286246e8..2a1f3d4cb3597 100644 --- a/sys/sys/pipe.h +++ b/sys/sys/pipe.h @@ -26,7 +26,7 @@ #ifndef _KERNEL #include <sys/time.h> /* for struct timespec */ -#include <sys/select.h> /* for struct selinfo */ +#include <sys/selinfo.h> /* for struct selinfo */ #include <vm/vm.h> /* for vm_page_t */ #include <machine/param.h> /* for PAGE_SIZE */ #endif diff --git a/sys/sys/socketvar.h b/sys/sys/socketvar.h index d363c4db36d32..09014182bd3e6 100644 --- a/sys/sys/socketvar.h +++ b/sys/sys/socketvar.h @@ -38,7 +38,7 @@ #define _SYS_SOCKETVAR_H_ #include <sys/queue.h> /* for TAILQ macros */ -#include <sys/select.h> /* for struct selinfo */ +#include <sys/selinfo.h> /* for struct selinfo */ /* * Kernel structure per socket. diff --git a/sys/sys/tty.h b/sys/sys/tty.h index c6f405606257d..43a515931dd32 100644 --- a/sys/sys/tty.h +++ b/sys/sys/tty.h @@ -44,7 +44,7 @@ #include <sys/termios.h> #include <sys/queue.h> -#include <sys/select.h> /* For struct selinfo. */ +#include <sys/selinfo.h> /* * Clists are character lists, which is a variable length linked list diff --git a/sys/sys/vnode.h b/sys/sys/vnode.h index 2ab6f3f7f5230..7a463e20dc2e5 100644 --- a/sys/sys/vnode.h +++ b/sys/sys/vnode.h @@ -40,7 +40,7 @@ #include <sys/lock.h> #include <sys/mutex.h> #include <sys/queue.h> -#include <sys/select.h> +#include <sys/selinfo.h> #include <sys/uio.h> #include <sys/acl.h> |
