Update.
* sysdeps/unix/sysv/linux/bits/time.h (CLK_TCK): Cast sysconf result to __clock_t. * sysdeps/unix/sysv/linux/alpha/bits/time.h: Likewise. * sysdeps/unix/sysv/linux/i386/bits/time.h: Likewise. * sysdeps/unix/sysv/linux/ia64/bits/time.h: Likewise. * sysdeps/unix/sysv/linux/s390/bits/time.h: Likewise.
This commit is contained in:
parent
7659ff27b1
commit
275cdda0e2
|
@ -1,5 +1,12 @@
|
||||||
2000-11-01 Ulrich Drepper <drepper@redhat.com>
|
2000-11-01 Ulrich Drepper <drepper@redhat.com>
|
||||||
|
|
||||||
|
* sysdeps/unix/sysv/linux/bits/time.h (CLK_TCK): Cast sysconf result
|
||||||
|
to __clock_t.
|
||||||
|
* sysdeps/unix/sysv/linux/alpha/bits/time.h: Likewise.
|
||||||
|
* sysdeps/unix/sysv/linux/i386/bits/time.h: Likewise.
|
||||||
|
* sysdeps/unix/sysv/linux/ia64/bits/time.h: Likewise.
|
||||||
|
* sysdeps/unix/sysv/linux/s390/bits/time.h: Likewise.
|
||||||
|
|
||||||
* sysdeps/unix/sysv/linux/bits/socket.h (CMSG_ALIGN): Cast result
|
* sysdeps/unix/sysv/linux/bits/socket.h (CMSG_ALIGN): Cast result
|
||||||
of unary ~ to size_t.Update.
|
of unary ~ to size_t.Update.
|
||||||
|
|
||||||
|
|
|
@ -36,8 +36,9 @@
|
||||||
# ifndef __STRICT_ANSI__
|
# ifndef __STRICT_ANSI__
|
||||||
/* Even though CLOCKS_PER_SEC has such a strange value CLK_TCK
|
/* Even though CLOCKS_PER_SEC has such a strange value CLK_TCK
|
||||||
presents the real value for clock ticks per second for the system. */
|
presents the real value for clock ticks per second for the system. */
|
||||||
|
# include <bits/types.h>
|
||||||
extern long int __sysconf (int);
|
extern long int __sysconf (int);
|
||||||
# define CLK_TCK (__sysconf (2)) /* 2 is _SC_CLK_TCK */
|
# define CLK_TCK ((__clock_t) __sysconf (2)) /* 2 is _SC_CLK_TCK */
|
||||||
# endif
|
# endif
|
||||||
|
|
||||||
# ifdef __USE_POSIX199309
|
# ifdef __USE_POSIX199309
|
||||||
|
|
|
@ -36,8 +36,9 @@
|
||||||
# ifndef __STRICT_ANSI__
|
# ifndef __STRICT_ANSI__
|
||||||
/* Even though CLOCKS_PER_SEC has such a strange value CLK_TCK
|
/* Even though CLOCKS_PER_SEC has such a strange value CLK_TCK
|
||||||
presents the real value for clock ticks per second for the system. */
|
presents the real value for clock ticks per second for the system. */
|
||||||
|
# include <bits/types.h>
|
||||||
extern long int __sysconf (int);
|
extern long int __sysconf (int);
|
||||||
# define CLK_TCK (__sysconf (2)) /* 2 is _SC_CLK_TCK */
|
# define CLK_TCK ((__clock_t) __sysconf (2)) /* 2 is _SC_CLK_TCK */
|
||||||
# endif
|
# endif
|
||||||
|
|
||||||
# ifdef __USE_POSIX199309
|
# ifdef __USE_POSIX199309
|
||||||
|
|
|
@ -36,8 +36,9 @@
|
||||||
# ifndef __STRICT_ANSI__
|
# ifndef __STRICT_ANSI__
|
||||||
/* Even though CLOCKS_PER_SEC has such a strange value CLK_TCK
|
/* Even though CLOCKS_PER_SEC has such a strange value CLK_TCK
|
||||||
presents the real value for clock ticks per second for the system. */
|
presents the real value for clock ticks per second for the system. */
|
||||||
|
# include <bits/types.h>
|
||||||
extern long int __sysconf (int);
|
extern long int __sysconf (int);
|
||||||
# define CLK_TCK (__sysconf (2)) /* 2 is _SC_CLK_TCK */
|
# define CLK_TCK ((__clock_t) __sysconf (2)) /* 2 is _SC_CLK_TCK */
|
||||||
# endif
|
# endif
|
||||||
|
|
||||||
# ifdef __USE_POSIX199309
|
# ifdef __USE_POSIX199309
|
||||||
|
|
|
@ -36,8 +36,9 @@
|
||||||
# ifndef __STRICT_ANSI__
|
# ifndef __STRICT_ANSI__
|
||||||
/* Even though CLOCKS_PER_SEC has such a strange value CLK_TCK
|
/* Even though CLOCKS_PER_SEC has such a strange value CLK_TCK
|
||||||
presents the real value for clock ticks per second for the system. */
|
presents the real value for clock ticks per second for the system. */
|
||||||
|
# include <bits/types.h>
|
||||||
extern long int __sysconf (int);
|
extern long int __sysconf (int);
|
||||||
# define CLK_TCK (__sysconf (2)) /* 2 is _SC_CLK_TCK */
|
# define CLK_TCK ((__clock_t) __sysconf (2)) /* 2 is _SC_CLK_TCK */
|
||||||
# endif
|
# endif
|
||||||
|
|
||||||
# ifdef __USE_POSIX199309
|
# ifdef __USE_POSIX199309
|
||||||
|
|
|
@ -36,8 +36,9 @@
|
||||||
# ifndef __STRICT_ANSI__
|
# ifndef __STRICT_ANSI__
|
||||||
/* Even though CLOCKS_PER_SEC has such a strange value CLK_TCK
|
/* Even though CLOCKS_PER_SEC has such a strange value CLK_TCK
|
||||||
presents the real value for clock ticks per second for the system. */
|
presents the real value for clock ticks per second for the system. */
|
||||||
|
# include <bits/types.h>
|
||||||
extern long int __sysconf (int);
|
extern long int __sysconf (int);
|
||||||
# define CLK_TCK (__sysconf (2)) /* 2 is _SC_CLK_TCK */
|
# define CLK_TCK ((__clock_t) __sysconf (2)) /* 2 is _SC_CLK_TCK */
|
||||||
# endif
|
# endif
|
||||||
|
|
||||||
# ifdef __USE_POSIX199309
|
# ifdef __USE_POSIX199309
|
||||||
|
|
Loading…
Reference in a new issue