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 /lib/libpthread/thread/thr_nanosleep.c | |
parent | 4956656241fa98581a8f098b259e2afa7b8b3b02 (diff) | |
download | FreeBSD-src-b73ae73c5f41952bdb248b577b8655b03866a2ba.zip FreeBSD-src-b73ae73c5f41952bdb248b577b8655b03866a2ba.tar.gz |
Add const in the thread version of nanosleep()'s args
Diffstat (limited to 'lib/libpthread/thread/thr_nanosleep.c')
-rw-r--r-- | lib/libpthread/thread/thr_nanosleep.c | 3 |
1 files changed, 2 insertions, 1 deletions
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; |