aboutsummaryrefslogtreecommitdiff
path: root/sysdeps/unix/i386/i586/clock_gettime.c
diff options
context:
space:
mode:
authorAndreas Jaeger <aj@suse.de>2000-12-31 19:13:04 +0000
committerAndreas Jaeger <aj@suse.de>2000-12-31 19:13:04 +0000
commit66539a737d6e1fe3aa6ce27f9a2548f9e7f47e3f (patch)
tree5956e4edd32bea5f2cc2b721b7137765fab17d89 /sysdeps/unix/i386/i586/clock_gettime.c
parent72f70279f4fa34d123ec234c7295059ce15fb8ac (diff)
downloadglibc-66539a737d6e1fe3aa6ce27f9a2548f9e7f47e3f.tar
glibc-66539a737d6e1fe3aa6ce27f9a2548f9e7f47e3f.tar.gz
glibc-66539a737d6e1fe3aa6ce27f9a2548f9e7f47e3f.tar.bz2
glibc-66539a737d6e1fe3aa6ce27f9a2548f9e7f47e3f.zip
Update.
* include/libc-internal.h: Add prototype for __libc_freeres. * malloc/mtrace.c: Likewise. * malloc/set-freeres.c: Likewise.
Diffstat (limited to 'sysdeps/unix/i386/i586/clock_gettime.c')
-rw-r--r--sysdeps/unix/i386/i586/clock_gettime.c4
1 files changed, 1 insertions, 3 deletions
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. */