From 9cbdf225b653b25b2358b6b036c8769599792695 Mon Sep 17 00:00:00 2001 From: Philip Guenthe Date: Thu, 22 Mar 2012 03:43:20 +0000 Subject: Hide behind #if 0 the sched_*() functions that we don't have yet Requested and tested against ports by aja@, ok matthew@ --- lib/libpthread/include/sched.h | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'lib/libpthread/include/sched.h') 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 __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 */ -- cgit v1.2.3