summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorPhilip Guenthe <guenther@cvs.openbsd.org>2012-03-22 04:26:32 +0000
committerPhilip Guenthe <guenther@cvs.openbsd.org>2012-03-22 04:26:32 +0000
commitecb42c7b1288258c25d94a7dbd7ff5c146a2e6bc (patch)
treea3fb7b79b590b24687e027cf42845602eac414b2 /lib
parent4bd1c1b3376106a40617444eadb8bfa9d7180184 (diff)
<sched.h> is never pulled in from the kernel and #ifdef KERNEL would be
the wrong symbol anyway, so zap some lines ok matthew@
Diffstat (limited to 'lib')
-rw-r--r--lib/libpthread/include/sched.h10
1 files changed, 2 insertions, 8 deletions
diff --git a/lib/libpthread/include/sched.h b/lib/libpthread/include/sched.h
index e910040a569..a959d0f70de 100644
--- a/lib/libpthread/include/sched.h
+++ b/lib/libpthread/include/sched.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: sched.h,v 1.7 2012/03/22 03:43:19 guenther Exp $ */
+/* $OpenBSD: sched.h,v 1.8 2012/03/22 04:26:31 guenther Exp $ */
/* sched.h: POSIX 1003.1b Process Scheduling header */
@@ -40,10 +40,7 @@
#define _SCHED_H_
#include <sys/types.h> /* For pid_t */
-
-#ifndef KERNEL
-#include <time.h> /* Per P1003.4 */
-#endif
+#include <time.h> /* Per P1003.4 */
/* Scheduling policies
*/
@@ -56,7 +53,6 @@ struct sched_param
int sched_priority;
};
-#ifndef KERNEL
#include <sys/cdefs.h>
__BEGIN_DECLS
@@ -78,6 +74,4 @@ int sched_rr_get_interval(pid_t, struct timespec *);
#endif
__END_DECLS
-#endif /* KERNEL */
-
#endif /* _SCHED_H_ */