diff options
author | peter <peter@FreeBSD.org> | 1997-05-12 10:02:18 +0000 |
---|---|---|
committer | peter <peter@FreeBSD.org> | 1997-05-12 10:02:18 +0000 |
commit | b73ae73c5f41952bdb248b577b8655b03866a2ba (patch) | |
tree | 04616f5359032448111485ca662e5d330ba8bb72 | |
parent | 4956656241fa98581a8f098b259e2afa7b8b3b02 (diff) | |
download | FreeBSD-src-b73ae73c5f41952bdb248b577b8655b03866a2ba.zip FreeBSD-src-b73ae73c5f41952bdb248b577b8655b03866a2ba.tar.gz |
Add const in the thread version of nanosleep()'s args
-rw-r--r-- | lib/libc_r/uthread/uthread_nanosleep.c | 3 | ||||
-rw-r--r-- | lib/libkse/thread/thr_nanosleep.c | 3 | ||||
-rw-r--r-- | lib/libpthread/thread/thr_nanosleep.c | 3 |
3 files changed, 6 insertions, 3 deletions
diff --git a/lib/libc_r/uthread/uthread_nanosleep.c b/lib/libc_r/uthread/uthread_nanosleep.c index 46ec14b..7cf734d 100644 --- a/lib/libc_r/uthread/uthread_nanosleep.c +++ b/lib/libc_r/uthread/uthread_nanosleep.c @@ -37,7 +37,8 @@ #include "pthread_private.h" int -nanosleep(struct timespec * time_to_sleep, struct timespec * time_remaining) +_thread_nanosleep(const struct timespec * time_to_sleep, + struct timespec * time_remaining) { int ret = 0; struct timespec current_time; diff --git a/lib/libkse/thread/thr_nanosleep.c b/lib/libkse/thread/thr_nanosleep.c index 46ec14b..7cf734d 100644 --- a/lib/libkse/thread/thr_nanosleep.c +++ b/lib/libkse/thread/thr_nanosleep.c @@ -37,7 +37,8 @@ #include "pthread_private.h" int -nanosleep(struct timespec * time_to_sleep, struct timespec * time_remaining) +_thread_nanosleep(const struct timespec * time_to_sleep, + struct timespec * time_remaining) { int ret = 0; struct timespec current_time; diff --git a/lib/libpthread/thread/thr_nanosleep.c b/lib/libpthread/thread/thr_nanosleep.c index 46ec14b..7cf734d 100644 --- a/lib/libpthread/thread/thr_nanosleep.c +++ b/lib/libpthread/thread/thr_nanosleep.c @@ -37,7 +37,8 @@ #include "pthread_private.h" int -nanosleep(struct timespec * time_to_sleep, struct timespec * time_remaining) +_thread_nanosleep(const struct timespec * time_to_sleep, + struct timespec * time_remaining) { int ret = 0; struct timespec current_time; |