diff options
author | bde <bde@FreeBSD.org> | 2000-05-11 15:57:17 +0000 |
---|---|---|
committer | bde <bde@FreeBSD.org> | 2000-05-11 15:57:17 +0000 |
commit | 8e84288c328cfe3b45457b1a2eac93658e0a5379 (patch) | |
tree | ad542993e3164f24bfae1dfb266ce229cb60ff3e /lib/libc_r/uthread | |
parent | 2d5449b6f74465dafc8d1d8f1a2b0afb5f1169c4 (diff) | |
download | FreeBSD-src-8e84288c328cfe3b45457b1a2eac93658e0a5379.zip FreeBSD-src-8e84288c328cfe3b45457b1a2eac93658e0a5379.tar.gz |
Fixed missing consts for function parameters, so that the code matches
the man page and POSIX.1. Fixed nearby misformatting. Fixed a missing
prototype.
Diffstat (limited to 'lib/libc_r/uthread')
-rw-r--r-- | lib/libc_r/uthread/uthread_attr_getdetachstate.c | 3 | ||||
-rw-r--r-- | lib/libc_r/uthread/uthread_attr_getstackaddr.c | 3 | ||||
-rw-r--r-- | lib/libc_r/uthread/uthread_attr_getstacksize.c | 3 |
3 files changed, 6 insertions, 3 deletions
diff --git a/lib/libc_r/uthread/uthread_attr_getdetachstate.c b/lib/libc_r/uthread/uthread_attr_getdetachstate.c index fee1e8b..d120553 100644 --- a/lib/libc_r/uthread/uthread_attr_getdetachstate.c +++ b/lib/libc_r/uthread/uthread_attr_getdetachstate.c @@ -36,7 +36,8 @@ #include <pthread.h> #include "pthread_private.h" -int pthread_attr_getdetachstate(pthread_attr_t *attr, int *detachstate) +int +pthread_attr_getdetachstate(const pthread_attr_t *attr, int *detachstate) { int ret; diff --git a/lib/libc_r/uthread/uthread_attr_getstackaddr.c b/lib/libc_r/uthread/uthread_attr_getstackaddr.c index 1fee4a5..442dcc2 100644 --- a/lib/libc_r/uthread/uthread_attr_getstackaddr.c +++ b/lib/libc_r/uthread/uthread_attr_getstackaddr.c @@ -36,7 +36,8 @@ #include <pthread.h> #include "pthread_private.h" -int pthread_attr_getstackaddr(pthread_attr_t *attr, void **stackaddr) +int +pthread_attr_getstackaddr(const pthread_attr_t *attr, void **stackaddr) { int ret; diff --git a/lib/libc_r/uthread/uthread_attr_getstacksize.c b/lib/libc_r/uthread/uthread_attr_getstacksize.c index 5c7a9e0..d9aaca4 100644 --- a/lib/libc_r/uthread/uthread_attr_getstacksize.c +++ b/lib/libc_r/uthread/uthread_attr_getstacksize.c @@ -36,7 +36,8 @@ #include <pthread.h> #include "pthread_private.h" -int pthread_attr_getstacksize(pthread_attr_t *attr, size_t *stacksize) +int +pthread_attr_getstacksize(const pthread_attr_t *attr, size_t *stacksize) { int ret; |