glibc/sysdeps/unix/sysv/linux/bits
H.J. Lu 57ada0e7e7 Define CLOCKS_PER_SEC type to the type clock_t
C99 specifies that CLOCKS_PER_SEC is an expression with the type clock_t.
This patch adds a generic <bits/time2.h> to define CLOCKS_PER_SEC and
provides the Linux/x86-64 version of <bits/time2.h> to support x32.

	[BZ #17797]
	* bits/time.h (CLOCKS_PER_SEC): Changed to ((clock_t) 1000000).
	* sysdeps/unix/sysv/linux/bits/time.h (CLOCKS_PER_SEC): Likewise.
	* sysdeps/unix/sysv/linux/clock.c (clock): _Static_assert
	CLOCKS_PER_SEC == 1000000.
	* time/clocktest.c (main): Replace %ld with %jd and cast to
	intmax_t.
2015-01-06 04:59:13 -08:00
..
a.out.h
dirent.h
epoll.h
errno.h
eventfd.h
fcntl-linux.h
fcntl.h
in.h
initspin.h
inotify.h
ioctl-types.h
ioctls.h
ipc.h
local_lim.h
mqueue.h
msq.h
param.h
poll.h
posix_opt.h
resource.h
sched.h
sem.h
shm.h
sigaction.h
sigcontext.h
siginfo.h
signalfd.h
signum.h
sigset.h
sigstack.h
socket_type.h
socket.h
stat.h
statfs.h
statvfs.h
sys_errlist.h
sysctl.h
termios.h
time.h Define CLOCKS_PER_SEC type to the type clock_t 2015-01-06 04:59:13 -08:00
timerfd.h
timex.h
uio.h
utsname.h
waitflags.h