From 89fb6835583088059b8d8987c86caac33e37e5ea Mon Sep 17 00:00:00 2001 From: Siddhesh Poyarekar Date: Tue, 11 Jun 2013 11:11:11 +0530 Subject: 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. --- include/time.h | 1 + 1 file changed, 1 insertion(+) (limited to 'include') diff --git a/include/time.h b/include/time.h index 9be15b9739..8dd10dcdd8 100644 --- a/include/time.h +++ b/include/time.h @@ -21,6 +21,7 @@ libc_hidden_proto (strptime) extern __typeof (clock_getres) __clock_getres; extern __typeof (clock_gettime) __clock_gettime; +libc_hidden_proto (__clock_gettime) extern __typeof (clock_settime) __clock_settime; extern __typeof (clock_nanosleep) __clock_nanosleep; extern __typeof (clock_getcpuclockid) __clock_getcpuclockid; -- cgit 1.4.1