summaryrefslogtreecommitdiffstats
path: root/lib/libpthread
diff options
context:
space:
mode:
authordeischen <deischen@FreeBSD.org>2000-01-10 04:14:08 +0000
committerdeischen <deischen@FreeBSD.org>2000-01-10 04:14:08 +0000
commitb4c9cf300fa6bf1268a1473c20d3bdde28b7624d (patch)
treed977c4cb06541e361703b93365aba57c3d7cef99 /lib/libpthread
parent31b9ca1819116012a8cd7a78cce90b0820aac53e (diff)
downloadFreeBSD-src-b4c9cf300fa6bf1268a1473c20d3bdde28b7624d.zip
FreeBSD-src-b4c9cf300fa6bf1268a1473c20d3bdde28b7624d.tar.gz
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
Diffstat (limited to 'lib/libpthread')
-rw-r--r--lib/libpthread/thread/thr_attr_setschedparam.c2
1 files changed, 1 insertions, 1 deletions
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;
OpenPOWER on IntegriCloud