From b4c9cf300fa6bf1268a1473c20d3bdde28b7624d Mon Sep 17 00:00:00 2001 From: deischen Date: Mon, 10 Jan 2000 04:14:08 +0000 Subject: Make sched_param parameter a const to comply with POSIX and SUSv2 specs. This doesn't need to be applied to stable, because somehow -stable seems to have gotten it right. Reviewed by: jasone --- lib/libpthread/thread/thr_attr_setschedparam.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/libpthread') diff --git a/lib/libpthread/thread/thr_attr_setschedparam.c b/lib/libpthread/thread/thr_attr_setschedparam.c index 17b93b4..5746fe2 100644 --- a/lib/libpthread/thread/thr_attr_setschedparam.c +++ b/lib/libpthread/thread/thr_attr_setschedparam.c @@ -37,7 +37,7 @@ #include "pthread_private.h" int -pthread_attr_setschedparam(pthread_attr_t *attr, struct sched_param *param) +pthread_attr_setschedparam(pthread_attr_t *attr, const struct sched_param *param) { int ret = 0; -- cgit v1.1