summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorPhilip Guenthe <guenther@cvs.openbsd.org>2012-03-22 03:43:20 +0000
committerPhilip Guenthe <guenther@cvs.openbsd.org>2012-03-22 03:43:20 +0000
commit9cbdf225b653b25b2358b6b036c8769599792695 (patch)
treef5451727037bb983979eccd40fe40d8e511d5800 /lib
parent2e2475e8d275a770779144663fee23b401a6ce13 (diff)
Hide behind #if 0 the sched_*() functions that we don't have yet
Requested and tested against ports by aja@, ok matthew@
Diffstat (limited to 'lib')
-rw-r--r--lib/libpthread/include/sched.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/lib/libpthread/include/sched.h b/lib/libpthread/include/sched.h
index 81b91b2a682..e910040a569 100644
--- a/lib/libpthread/include/sched.h
+++ b/lib/libpthread/include/sched.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: sched.h,v 1.6 2002/02/16 21:27:25 millert Exp $ */
+/* $OpenBSD: sched.h,v 1.7 2012/03/22 03:43:19 guenther Exp $ */
/* sched.h: POSIX 1003.1b Process Scheduling header */
@@ -60,17 +60,22 @@ struct sched_param
#include <sys/cdefs.h>
__BEGIN_DECLS
+#if 0 /* not yet */
int sched_setparam(pid_t, const struct sched_param *);
int sched_getparam(pid_t, struct sched_param *);
int sched_setscheduler(pid_t, int, const struct sched_param *);
int sched_getscheduler(pid_t);
+#endif
int sched_yield(void);
int sched_get_priority_max(int);
int sched_get_priority_min(int);
+
+#if 0 /* not yet */
struct timespec;
int sched_rr_get_interval(pid_t, struct timespec *);
+#endif
__END_DECLS
#endif /* KERNEL */