about summary refs log tree commit diff
path: root/sysdeps/generic
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2001-04-24 05:40:23 +0000
committerUlrich Drepper <drepper@redhat.com>2001-04-24 05:40:23 +0000
commit44c51e9ab074bada216c5fcbc5e48d06ee24b80f (patch)
treeee04de9d7b0da955f0acc268dfc4e8ce938b0b47 /sysdeps/generic
parent295125c54256c6df5599aa23029cb3eb6e2f2e33 (diff)
downloadglibc-44c51e9ab074bada216c5fcbc5e48d06ee24b80f.tar.gz
glibc-44c51e9ab074bada216c5fcbc5e48d06ee24b80f.tar.xz
glibc-44c51e9ab074bada216c5fcbc5e48d06ee24b80f.zip
Update.
	* sysdeps/generic/get_clockfreq.c (__get_clockfreq): Likewise.
Diffstat (limited to 'sysdeps/generic')
-rw-r--r--sysdeps/generic/clock_getcpuclockid.c1
-rw-r--r--sysdeps/generic/get_clockfreq.c6
2 files changed, 4 insertions, 3 deletions
diff --git a/sysdeps/generic/clock_getcpuclockid.c b/sysdeps/generic/clock_getcpuclockid.c
index f39a8cf492..874f13e141 100644
--- a/sysdeps/generic/clock_getcpuclockid.c
+++ b/sysdeps/generic/clock_getcpuclockid.c
@@ -18,6 +18,7 @@
 
 #include <errno.h>
 #include <time.h>
+#include <unistd.h>
 
 int
 clock_getcpuclockid (pid_t pid, clockid_t *clock_id)
diff --git a/sysdeps/generic/get_clockfreq.c b/sysdeps/generic/get_clockfreq.c
index 94f233c557..89af7fc013 100644
--- a/sysdeps/generic/get_clockfreq.c
+++ b/sysdeps/generic/get_clockfreq.c
@@ -1,5 +1,5 @@
 /* Get frequency of the system processor.
-   Copyright (C) 2000 Free Software Foundation, Inc.
+   Copyright (C) 2000, 2001 Free Software Foundation, Inc.
    This file is part of the GNU C Library.
 
    The GNU C Library is free software; you can redistribute it and/or
@@ -19,10 +19,10 @@
 
 #include <libc-internal.h>
 
-unsigned long long int
+hp_timing_t
 __get_clockfreq (void)
 {
   /* There is no generic way to find this out since we have in general
      no counter register either.  */
-  return 0ull;
+  return 0;
 }