summaryrefslogtreecommitdiff
path: root/libc/rt/clock_nanosleep.c
diff options
context:
space:
mode:
authorjoseph <joseph@7b3dc134-2b1b-0410-93df-9e9f96275f8d>2013-06-15 17:37:04 +0000
committerjoseph <joseph@7b3dc134-2b1b-0410-93df-9e9f96275f8d>2013-06-15 17:37:04 +0000
commit3625809e03b7287e244a6a2563d5217426e88d5c (patch)
treefecf84cbf45a9412ad727953f17ad0e5ef804e9f /libc/rt/clock_nanosleep.c
parent8548b3be8c48bf62bd4e20fb0ee958338b01bc6c (diff)
downloadeglibc2-3625809e03b7287e244a6a2563d5217426e88d5c.tar.gz
Merge changes between r23217 and r23296 from /fsf/trunk.
git-svn-id: svn://svn.eglibc.org/trunk@23297 7b3dc134-2b1b-0410-93df-9e9f96275f8d
Diffstat (limited to 'libc/rt/clock_nanosleep.c')
-rw-r--r--libc/rt/clock_nanosleep.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/libc/rt/clock_nanosleep.c b/libc/rt/clock_nanosleep.c
index 24f8bc660..877914751 100644
--- a/libc/rt/clock_nanosleep.c
+++ b/libc/rt/clock_nanosleep.c
@@ -20,8 +20,8 @@
#include <time.h>
int
-clock_nanosleep (clockid_t clock_id, int flags, const struct timespec *req,
- struct timespec *rem)
+__clock_nanosleep (clockid_t clock_id, int flags, const struct timespec *req,
+ struct timespec *rem)
{
if (__builtin_expect (req->tv_nsec, 0) < 0
|| __builtin_expect (req->tv_nsec, 0) >= 1000000000)
@@ -33,5 +33,5 @@ clock_nanosleep (clockid_t clock_id, int flags, const struct timespec *req,
/* Not implemented. */
return ENOSYS;
}
-strong_alias (clock_nanosleep, __clock_nanosleep)
+weak_alias (__clock_nanosleep, clock_nanosleep)
stub_warning (clock_nanosleep)