diff options
author | deischen <deischen@FreeBSD.org> | 2000-01-10 04:14:08 +0000 |
---|---|---|
committer | deischen <deischen@FreeBSD.org> | 2000-01-10 04:14:08 +0000 |
commit | b4c9cf300fa6bf1268a1473c20d3bdde28b7624d (patch) | |
tree | d977c4cb06541e361703b93365aba57c3d7cef99 /include | |
parent | 31b9ca1819116012a8cd7a78cce90b0820aac53e (diff) | |
download | FreeBSD-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 'include')
-rw-r--r-- | include/pthread.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/pthread.h b/include/pthread.h index 8f62025..8bf12cd 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 *, |