summaryrefslogtreecommitdiff
path: root/include/sched.h
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2012-11-18 06:17:03 -0500
committerMike Frysinger <vapier@gentoo.org>2012-11-18 06:17:03 -0500
commit290e19f8147d9b3c0166d3520e718ae5603e4cef (patch)
tree3c77d58f8cd8115b861809560e644699341c14ee /include/sched.h
parent266bdc1f623fe6fe489e5115e0f8ef723705d949 (diff)
drop support for pre ISO-C compilers
This drops __signed, __volatile, and __const. Only the latter was used in the code base, and for uClibc, not consistently. Much of the code used plain "const" which meant "__const" was useless. Really, the point of this is to stay in sync with what glibc did. Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Diffstat (limited to 'include/sched.h')
-rw-r--r--include/sched.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/include/sched.h b/include/sched.h
index b77b5435a..f262a0be5 100644
--- a/include/sched.h
+++ b/include/sched.h
@@ -39,7 +39,7 @@
__BEGIN_DECLS
/* Set scheduling parameters for a process. */
-extern int sched_setparam (__pid_t __pid, __const struct sched_param *__param)
+extern int sched_setparam (__pid_t __pid, const struct sched_param *__param)
__THROW;
/* Retrieve scheduling parameters for a particular process. */
@@ -47,7 +47,7 @@ extern int sched_getparam (__pid_t __pid, struct sched_param *__param) __THROW;
/* Set scheduling algorithm and/or parameters for a process. */
extern int sched_setscheduler (__pid_t __pid, int __policy,
- __const struct sched_param *__param) __THROW;
+ const struct sched_param *__param) __THROW;
/* Retrieve scheduling algorithm for a particular purpose. */
extern int sched_getscheduler (__pid_t __pid) __THROW;
@@ -107,7 +107,7 @@ extern int sched_rr_get_interval (__pid_t __pid, struct timespec *__t) __THROW;
/* Set the CPU affinity for a task */
extern int sched_setaffinity (__pid_t __pid, size_t __cpusetsize,
- __const cpu_set_t *__cpuset) __THROW;
+ const cpu_set_t *__cpuset) __THROW;
/* Get the CPU affinity for a task */
extern int sched_getaffinity (__pid_t __pid, size_t __cpusetsize,