[klibc] [PATCH] include: [sched.h] fix POSIX conformance
maximilian attems
max at stro.at
Mon Aug 29 09:08:23 PDT 2011
The linux code likes to name it SCHED_NORMAL, userland knows
it under SCHED_OTHER. Use later definition as specified in
POSIX:2001.
Signed-off-by: maximilian attems <max at stro.at>
---
usr/include/sched.h | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/usr/include/sched.h b/usr/include/sched.h
index 713cc7a..a1cc568 100644
--- a/usr/include/sched.h
+++ b/usr/include/sched.h
@@ -9,7 +9,7 @@
/* linux/sched.h is unusable; put the declarations we need here... */
-#define SCHED_NORMAL 0
+#define SCHED_OTHER 0
#define SCHED_FIFO 1
#define SCHED_RR 2
--
1.7.5.4
More information about the klibc
mailing list