diff options
author | Siddhesh Poyarekar <siddhesh@redhat.com> | 2013-06-11 11:11:11 +0530 |
---|---|---|
committer | Siddhesh Poyarekar <siddhesh@redhat.com> | 2013-06-11 11:11:11 +0530 |
commit | 89fb6835583088059b8d8987c86caac33e37e5ea (patch) | |
tree | ffd867e682b478adbfe07fe0410c33c14b6e4002 /sysdeps/unix/clock_settime.c | |
parent | b8c61b4b1d6afb69190169764c1b141f4659e48b (diff) | |
download | glibc-89fb6835583088059b8d8987c86caac33e37e5ea.zip glibc-89fb6835583088059b8d8987c86caac33e37e5ea.tar.gz glibc-89fb6835583088059b8d8987c86caac33e37e5ea.tar.bz2 |
Fix symbol definitions for __clock_* functions
__clock_gettime and other __clock_* functions could result in an extra
PLT reference within libc.so if it actually gets used. None of the
code currently uses them, which is why this probably went unnoticed.
Diffstat (limited to 'sysdeps/unix/clock_settime.c')
-rw-r--r-- | sysdeps/unix/clock_settime.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sysdeps/unix/clock_settime.c b/sysdeps/unix/clock_settime.c index 48269cc..6605e9e 100644 --- a/sysdeps/unix/clock_settime.c +++ b/sysdeps/unix/clock_settime.c @@ -72,7 +72,7 @@ hp_timing_settime (clockid_t clock_id, const struct timespec *tp) /* Set CLOCK to value TP. */ int -clock_settime (clockid_t clock_id, const struct timespec *tp) +__clock_settime (clockid_t clock_id, const struct timespec *tp) { int retval; @@ -124,4 +124,4 @@ clock_settime (clockid_t clock_id, const struct timespec *tp) return retval; } -strong_alias (clock_settime, __clock_settime) +weak_alias (__clock_settime, clock_settime) |