summary refs log tree commit diff
path: root/rt/clock_gettime.c
diff options
context:
space:
mode:
Diffstat (limited to 'rt/clock_gettime.c')
-rw-r--r--rt/clock_gettime.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/rt/clock_gettime.c b/rt/clock_gettime.c
index cc7936de8a..1c9e52459a 100644
--- a/rt/clock_gettime.c
+++ b/rt/clock_gettime.c
@@ -21,10 +21,11 @@
 
 /* Get current value of CLOCK and store it in TP.  */
 int
-clock_gettime (clockid_t clock_id, struct timespec *tp)
+__clock_gettime (clockid_t clock_id, struct timespec *tp)
 {
   __set_errno (ENOSYS);
   return -1;
 }
-strong_alias (clock_gettime, __clock_gettime)
+weak_alias (__clock_gettime, clock_gettime)
+libc_hidden_def (__clock_gettime)
 stub_warning (clock_gettime)