diff options
author | Mark Kettenis <kettenis@gnu.org> | 2000-11-04 21:26:25 +0000 |
---|---|---|
committer | Mark Kettenis <kettenis@gnu.org> | 2000-11-04 21:26:25 +0000 |
commit | f3975fff5c19ae7dfa91f8048de5cef9283c280d (patch) | |
tree | 321f86c3380d99742cfaa33eb36c7d0363aa41fd /sysdeps/mach/hurd/bits | |
parent | d2830ba4cc7e3da48bb8272acf5d440506aee37a (diff) | |
download | glibc-f3975fff5c19ae7dfa91f8048de5cef9283c280d.tar.gz glibc-f3975fff5c19ae7dfa91f8048de5cef9283c280d.tar.xz glibc-f3975fff5c19ae7dfa91f8048de5cef9283c280d.zip |
* sysdeps/mach/hurd/Versions [libc] (GLIBC_2.1.1): Remove __libc_clk_tck. * sysdeps/mach/hurd/Makefile [$(subdir)==posix] (sysdep_routines): Remove clk_tck. * sysdeps/mach/hurd/clk_tck.c: Removed. * sysdeps/mach/hurd/getclktck.c: New file. * sysdeps/mach/hurd/setitimer.c (quantize_timeval): Use __getclktck instead of __libc_clk_tck. * sysdeps/mach/hurd/bits/time.h: Use __sysconf for CLK_TCK instead of __libc_clk_tck. * sysdeps/mach/hurd/i386/bits/time.h: Likewise.
2000-11-04 Mark Kettenis <kettenis@gnu.org> * sysdeps/mach/hurd/Versions [libc] (GLIBC_2.1.1): Remove __libc_clk_tck. * sysdeps/mach/hurd/Makefile [$(subdir)==posix] (sysdep_routines): Remove clk_tck. * sysdeps/mach/hurd/clk_tck.c: Removed. * sysdeps/mach/hurd/getclktck.c: New file. * sysdeps/mach/hurd/setitimer.c (quantize_timeval): Use __getclktck instead of __libc_clk_tck. * sysdeps/mach/hurd/bits/time.h: Use __sysconf for CLK_TCK instead of __libc_clk_tck. * sysdeps/mach/hurd/i386/bits/time.h: Likewise.
Diffstat (limited to 'sysdeps/mach/hurd/bits')
-rw-r--r-- | sysdeps/mach/hurd/bits/time.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/sysdeps/mach/hurd/bits/time.h b/sysdeps/mach/hurd/bits/time.h index 66a949d579..cb9f24bda7 100644 --- a/sysdeps/mach/hurd/bits/time.h +++ b/sysdeps/mach/hurd/bits/time.h @@ -35,10 +35,10 @@ # ifndef __STRICT_ANSI__ /* Even though CLOCKS_PER_SEC has such a strange value CLK_TCK - presents the real value for clock ticks per second for the system. - This value is determined at runtime. */ -# define CLK_TCK __libc_clk_tck() -extern int __libc_clk_tck (void) __attribute__ ((__const__)); + presents the real value for clock ticks per second for the system. */ +# include <bits/types.h> +extern long int __sysconf (int); +# define CLK_TCK ((__clock_t) __sysconf (2)) /* 2 is _SC_CLK_TCK */ # endif # ifdef __USE_POSIX199309 |