about summary refs log tree commit diff
path: root/sysdeps/unix/sysv/linux/i386/get_clockfreq.c
diff options
context:
space:
mode:
Diffstat (limited to 'sysdeps/unix/sysv/linux/i386/get_clockfreq.c')
-rw-r--r--sysdeps/unix/sysv/linux/i386/get_clockfreq.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sysdeps/unix/sysv/linux/i386/get_clockfreq.c b/sysdeps/unix/sysv/linux/i386/get_clockfreq.c
index 4d7303ab26..3caf66c88c 100644
--- a/sysdeps/unix/sysv/linux/i386/get_clockfreq.c
+++ b/sysdeps/unix/sysv/linux/i386/get_clockfreq.c
@@ -24,7 +24,7 @@
 #include <libc-internal.h>
 
 
-unsigned long long int
+hp_timing_t
 __get_clockfreq (void)
 {
   /* We read the information from the /proc filesystem.  It contains at
@@ -33,7 +33,7 @@ __get_clockfreq (void)
      or also
 	cpu MHz         : 497.841
      We search for this line and convert the number in an integer.  */
-  static unsigned long long int result;
+  static hp_timing_t result;
   int fd;
 
   /* If this function was called before, we know the result.  */