summaryrefslogtreecommitdiffstats
path: root/lib/libpthread
diff options
context:
space:
mode:
Diffstat (limited to 'lib/libpthread')
-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