summaryrefslogtreecommitdiffstats
path: root/lib/libpthread/thread/thr_nanosleep.c
diff options
context:
space:
mode:
authorpeter <peter@FreeBSD.org>1997-05-12 10:02:18 +0000
committerpeter <peter@FreeBSD.org>1997-05-12 10:02:18 +0000
commitb73ae73c5f41952bdb248b577b8655b03866a2ba (patch)
tree04616f5359032448111485ca662e5d330ba8bb72 /lib/libpthread/thread/thr_nanosleep.c
parent4956656241fa98581a8f098b259e2afa7b8b3b02 (diff)
downloadFreeBSD-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.c3
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;
OpenPOWER on IntegriCloud