summaryrefslogtreecommitdiff
path: root/include/pthread/pthread.h
diff options
context:
space:
mode:
authorNeal H. Walfield <neal@gnu.org>2005-04-20 15:26:52 +0000
committerNeal H. Walfield <neal@gnu.org>2005-04-20 15:26:52 +0000
commitd3259802444358fa6f917c7d2a049fc8fcc98cc0 (patch)
treee1dace934975669e77f7fe9617f68da99e0b2a67 /include/pthread/pthread.h
parentca420458a592b5fce854d45c7c516cf2fb73f600 (diff)
libpthread/
2005-04-20 Neal H. Walfield <neal@gnu.org> * sysdeps/generic/pt-setschedparam.c: policy's type is int, not int *. * include/pthread/pthread.h: Likewise. Reported by Christopher `Physicman' Bodenstein <cb@physicman.net>.
Diffstat (limited to 'include/pthread/pthread.h')
-rw-r--r--include/pthread/pthread.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/pthread/pthread.h b/include/pthread/pthread.h
index 8b25811..7e0e7de 100644
--- a/include/pthread/pthread.h
+++ b/include/pthread/pthread.h
@@ -680,7 +680,7 @@ extern int pthread_getschedparam (pthread_t thread, int *policy,
struct sched_param *param);
/* Set thread THREAD's scheduling paramters. */
-extern int pthread_setschedparam (pthread_t thread, int *policy,
+extern int pthread_setschedparam (pthread_t thread, int policy,
const struct sched_param *param);
/* Set thread THREAD's scheduling priority. */