about summary refs log tree commit diff
path: root/posix/nanosleep.c
diff options
context:
space:
mode:
Diffstat (limited to 'posix/nanosleep.c')
-rw-r--r--posix/nanosleep.c7
1 files changed, 3 insertions, 4 deletions
diff --git a/posix/nanosleep.c b/posix/nanosleep.c
index 19111e3247..3a0e433f6e 100644
--- a/posix/nanosleep.c
+++ b/posix/nanosleep.c
@@ -21,14 +21,13 @@
 
 /* Pause execution for a number of nanoseconds.  */
 int
-__libc_nanosleep (const struct timespec *requested_time,
-		  struct timespec *remaining)
+__nanosleep (const struct timespec *requested_time,
+	     struct timespec *remaining)
 {
   __set_errno (ENOSYS);
   return -1;
 }
 stub_warning (nanosleep)
 
-weak_alias (__libc_nanosleep, __nanosleep)
 libc_hidden_def (__nanosleep)
-weak_alias (__libc_nanosleep, nanosleep)
+weak_alias (__nanosleep, nanosleep)