about summary refs log tree commit diff
path: root/sysdeps/unix
diff options
context:
space:
mode:
Diffstat (limited to 'sysdeps/unix')
-rw-r--r--sysdeps/unix/i386/i586/clock_getres.c4
-rw-r--r--sysdeps/unix/i386/i586/clock_gettime.c4
-rw-r--r--sysdeps/unix/sysv/linux/i386/get_clockfreq.c1
-rw-r--r--sysdeps/unix/sysv/linux/init-first.c3
4 files changed, 4 insertions, 8 deletions
diff --git a/sysdeps/unix/i386/i586/clock_getres.c b/sysdeps/unix/i386/i586/clock_getres.c
index 49986f85ab..dd0af535ef 100644
--- a/sysdeps/unix/i386/i586/clock_getres.c
+++ b/sysdeps/unix/i386/i586/clock_getres.c
@@ -18,6 +18,7 @@
 
 #include <sys/param.h>
 #include <sys/time.h>
+#include <libc-internal.h>
 
 /* This implementation uses the TSC register in modern (i586 and up) IA-32
    processors (most modern clones also provide it).  Since we need the
@@ -27,9 +28,6 @@
    faster processors will not work without changes.  */
 
 
-/* Function to determine processor frequency.  */
-extern unsigned long long int __get_clockfreq (void);
-
 /* Clock frequency of the processor.  We make it a 64-bit variable
    because some jokers are already playing with processors with more
    than 4GHz.  */
diff --git a/sysdeps/unix/i386/i586/clock_gettime.c b/sysdeps/unix/i386/i586/clock_gettime.c
index 5d0e9f4c60..636744e4d6 100644
--- a/sysdeps/unix/i386/i586/clock_gettime.c
+++ b/sysdeps/unix/i386/i586/clock_gettime.c
@@ -17,6 +17,7 @@
    Boston, MA 02111-1307, USA.  */
 
 #include <sys/time.h>
+#include <libc-internal.h>
 
 /* This implementation uses the TSC register in modern (i586 and up) IA-32
    processors (most modern clones also provide it).  Since we need the
@@ -26,9 +27,6 @@
    faster processors will not work without changes.  */
 
 
-/* Function to determine processor frequency.  */
-extern unsigned long long int __get_clockfreq (void);
-
 /* Clock frequency of the processor.  We make it a 64-bit variable
    because some jokers are already playing with processors with more
    than 4GHz.  */
diff --git a/sysdeps/unix/sysv/linux/i386/get_clockfreq.c b/sysdeps/unix/sysv/linux/i386/get_clockfreq.c
index 26784c6da0..ec6c174421 100644
--- a/sysdeps/unix/sysv/linux/i386/get_clockfreq.c
+++ b/sysdeps/unix/sysv/linux/i386/get_clockfreq.c
@@ -21,6 +21,7 @@
 #include <fcntl.h>
 #include <string.h>
 #include <unistd.h>
+#include <libc-internal.h>
 
 
 unsigned long long int
diff --git a/sysdeps/unix/sysv/linux/init-first.c b/sysdeps/unix/sysv/linux/init-first.c
index 0e5b4a287d..af4e9c6d54 100644
--- a/sysdeps/unix/sysv/linux/init-first.c
+++ b/sysdeps/unix/sysv/linux/init-first.c
@@ -26,14 +26,13 @@
 #include <sys/param.h>
 #include <sys/types.h>
 #include "kernel-features.h"
+#include <libc-internal.h>
 
 #ifndef SHARED
 # include "dl-osinfo.h"
 #endif
 
-extern void __libc_init_secure (void);
 extern void __libc_init (int, char **, char **);
-extern void __libc_global_ctors (void);
 
 /* The function is called from assembly stubs the compiler can't see.  */
 static void init (int, char **, char **) __attribute__ ((unused));