aboutsummaryrefslogtreecommitdiffstats
path: root/include/pthread.h
diff options
context:
space:
mode:
authorDaniel Eischen <deischen@FreeBSD.org>2000-01-10 04:14:08 +0000
committerDaniel Eischen <deischen@FreeBSD.org>2000-01-10 04:14:08 +0000
commit3eadb69d1fc9c74dd58c04ae789550a77fc53c08 (patch)
treea0b5e350265cd333df3f4123ec9df1472f4a7786 /include/pthread.h
parent893618352c9569f73cc299ebae2c18f7a1ac17bc (diff)
downloadsrc-3eadb69d1fc9c74dd58c04ae789550a77fc53c08.tar.gz
src-3eadb69d1fc9c74dd58c04ae789550a77fc53c08.zip
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
Notes
Notes: svn path=/head/; revision=55708
Diffstat (limited to 'include/pthread.h')
-rw-r--r--include/pthread.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/pthread.h b/include/pthread.h
index 8f620258a603..8bf12cd8301f 100644
--- a/include/pthread.h
+++ b/include/pthread.h
@@ -298,7 +298,7 @@ int pthread_attr_getschedpolicy __P((const pthread_attr_t *, int *));
int pthread_attr_getscope __P((const pthread_attr_t *, int *));
int pthread_attr_setinheritsched __P((pthread_attr_t *, int));
int pthread_attr_setschedparam __P((pthread_attr_t *,
- struct sched_param *));
+ const struct sched_param *));
int pthread_attr_setschedpolicy __P((pthread_attr_t *, int));
int pthread_attr_setscope __P((pthread_attr_t *, int));
int pthread_getschedparam __P((pthread_t pthread, int *,