aboutsummaryrefslogtreecommitdiff
path: root/bits/sched.h
diff options
context:
space:
mode:
authorSamuel Thibault <samuel.thibault@ens-lyon.org>2018-04-19 00:09:58 +0200
committerSamuel Thibault <samuel.thibault@ens-lyon.org>2018-04-19 00:09:58 +0200
commitc15f10ee78c6fa837732bb0b3d6cec44e4171fcd (patch)
tree866f1bd8fb5b0736fbbfa9cf4c09ef3f20e2a3e7 /bits/sched.h
parent3dc0814cba86180c3ad478c81166220fb3e87ea5 (diff)
downloadglibc-c15f10ee78c6fa837732bb0b3d6cec44e4171fcd.zip
glibc-c15f10ee78c6fa837732bb0b3d6cec44e4171fcd.tar.gz
glibc-c15f10ee78c6fa837732bb0b3d6cec44e4171fcd.tar.bz2
Revert "Fix sched_param"
This reverts commit 783c4820303fb6b031d401564f8089ecaf154b62 which accidentaly flew out.
Diffstat (limited to 'bits/sched.h')
-rw-r--r--bits/sched.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/bits/sched.h b/bits/sched.h
index bdd94c9..8d9f077 100644
--- a/bits/sched.h
+++ b/bits/sched.h
@@ -29,6 +29,10 @@
#define SCHED_FIFO 1
#define SCHED_RR 2
-#include <bits/types/struct_sched_param.h>
+/* Data structure to describe a process' schedulability. */
+struct sched_param
+{
+ int sched_priority;
+};
#endif /* bits/sched.h */