summaryrefslogtreecommitdiffstats
path: root/sys/sys/selinfo.h
diff options
context:
space:
mode:
authorgreen <green@FreeBSD.org>2000-08-06 02:14:52 +0000
committergreen <green@FreeBSD.org>2000-08-06 02:14:52 +0000
commit0999383db864f8c8c6469b01727d7a9413c2f959 (patch)
treec6477a5dda1d8698cb5e30a4be8e185e90153f40 /sys/sys/selinfo.h
parent70fee7556af897b3e5daa5f5a385581e7cb7006d (diff)
downloadFreeBSD-src-0999383db864f8c8c6469b01727d7a9413c2f959.zip
FreeBSD-src-0999383db864f8c8c6469b01727d7a9413c2f959.tar.gz
None of select.h needs to be exposed to !_KERNEL.
Diffstat (limited to 'sys/sys/selinfo.h')
-rw-r--r--sys/sys/selinfo.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/sys/selinfo.h b/sys/sys/selinfo.h
index 4909a34..874758b 100644
--- a/sys/sys/selinfo.h
+++ b/sys/sys/selinfo.h
@@ -37,6 +37,7 @@
#ifndef _SYS_SELECT_H_
#define _SYS_SELECT_H_
+#ifdef _KERNEL
#include <sys/event.h> /* for struct klist */
/*
@@ -50,7 +51,6 @@ struct selinfo {
};
#define SI_COLL 0x0001 /* collision occurred */
-#ifdef _KERNEL
struct proc;
void selrecord __P((struct proc *selector, struct selinfo *));
OpenPOWER on IntegriCloud