From b73ae73c5f41952bdb248b577b8655b03866a2ba Mon Sep 17 00:00:00 2001 From: peter Date: Mon, 12 May 1997 10:02:18 +0000 Subject: Add const in the thread version of nanosleep()'s args --- lib/libpthread/thread/thr_nanosleep.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'lib/libpthread') 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; -- cgit v1.1