From d3259802444358fa6f917c7d2a049fc8fcc98cc0 Mon Sep 17 00:00:00 2001 From: "Neal H. Walfield" Date: Wed, 20 Apr 2005 15:26:52 +0000 Subject: libpthread/ 2005-04-20 Neal H. Walfield * sysdeps/generic/pt-setschedparam.c: policy's type is int, not int *. * include/pthread/pthread.h: Likewise. Reported by Christopher `Physicman' Bodenstein . --- include/pthread/pthread.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'include/pthread/pthread.h') 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. */ -- cgit v1.2.3