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 Update. 2003-07-25 09:06:04 +00:00
dirent.h Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
epoll.h Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
errno.h Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
eventfd.h Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
fcntl-linux.h Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
fcntl.h Update. 2000-09-01 07:14:30 +00:00
in.h Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
initspin.h Update. 2000-10-15 06:50:42 +00:00
inotify.h Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
ioctl-types.h Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
ioctls.h Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
ipc.h Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
local_lim.h Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
mqueue.h Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
msq.h Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
param.h Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
poll.h Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
posix_opt.h Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
resource.h Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
sched.h Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
sem.h Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
shm.h Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
sigaction.h Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
sigcontext.h Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
siginfo.h Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
signalfd.h Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
signum.h Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
sigset.h Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
sigstack.h Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
socket_type.h Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
socket.h Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
stat.h Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
statfs.h Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
statvfs.h Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
sys_errlist.h Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
sysctl.h Add sysctl.mk and bits/sysctl.h 2012-05-22 13:46:29 -07:00
termios.h Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
time.h Define CLOCKS_PER_SEC type to the type clock_t 2015-01-06 04:59:13 -08:00
timerfd.h Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
timex.h Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
uio.h Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
utsname.h Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
waitflags.h Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00