From 10a70b30461dcae6eef35b5ccc455cfcef18e5f6 Mon Sep 17 00:00:00 2001 From: guenther Date: Thu, 22 Mar 2012 04:26:31 +0000 Subject: is never pulled in from the kernel and #ifdef KERNEL would be the wrong symbol anyway, so zap some lines ok matthew@ --- lib/libpthread/include/sched.h | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) (limited to 'lib/libpthread/include/sched.h') 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 /* For pid_t */ - -#ifndef KERNEL -#include /* Per P1003.4 */ -#endif +#include /* Per P1003.4 */ /* Scheduling policies */ @@ -56,7 +53,6 @@ struct sched_param int sched_priority; }; -#ifndef KERNEL #include __BEGIN_DECLS @@ -78,6 +74,4 @@ int sched_rr_get_interval(pid_t, struct timespec *); #endif __END_DECLS -#endif /* KERNEL */ - #endif /* _SCHED_H_ */ -- cgit v1.2.3-59-g8ed1b