2008-10-02 Jeff Johnston <jjohnstn@redhat.com>
* libc/sys/linux/include/stdint.h (SIZE_MAX): Fix value which should
        be size of size_t, not int.
        (SIZE_MIN): Remove.
        * libc/sys/linux/sys/stdint.h: Ditto
			
			
This commit is contained in:
		| @@ -1,3 +1,10 @@ | |||||||
|  | 2008-10-02  Jeff Johnston  <jjohnstn@redhat.com> | ||||||
|  |  | ||||||
|  | 	* libc/sys/linux/include/stdint.h (SIZE_MAX): Fix value which should | ||||||
|  | 	be size of size_t, not int. | ||||||
|  | 	(SIZE_MIN): Remove. | ||||||
|  | 	* libc/sys/linux/sys/stdint.h: Ditto. | ||||||
|  |  | ||||||
| 2008-10-02  Jeff Johnston  <jjohnstn@redhat.com> | 2008-10-02  Jeff Johnston  <jjohnstn@redhat.com> | ||||||
|  |  | ||||||
| 	* libc/include/sys/reent.h[_REENT_SMALL](_REENT_INIT_RAND48): Add  | 	* libc/include/sys/reent.h[_REENT_SMALL](_REENT_INIT_RAND48): Add  | ||||||
|   | |||||||
| @@ -241,8 +241,7 @@ typedef uint64_t  	uint_least32_t; | |||||||
| #endif | #endif | ||||||
|  |  | ||||||
| /* This must match size_t in stddef.h, currently long unsigned int */ | /* This must match size_t in stddef.h, currently long unsigned int */ | ||||||
| #define SIZE_MIN (-__STDINT_EXP(LONG_MAX) - 1L) | #define SIZE_MAX (__STDINT_EXP(LONG_MAX) * 2UL + 1) | ||||||
| #define SIZE_MAX __STDINT_EXP(LONG_MAX) |  | ||||||
|  |  | ||||||
| /* This must match sig_atomic_t in <signal.h> (currently int) */ | /* This must match sig_atomic_t in <signal.h> (currently int) */ | ||||||
| #define SIG_ATOMIC_MIN (-__STDINT_EXP(INT_MAX) - 1) | #define SIG_ATOMIC_MIN (-__STDINT_EXP(INT_MAX) - 1) | ||||||
|   | |||||||
| @@ -201,8 +201,7 @@ typedef unsigned long uintmax_t; | |||||||
| #endif | #endif | ||||||
|  |  | ||||||
| /* This must match size_t in stddef.h, currently long unsigned int */ | /* This must match size_t in stddef.h, currently long unsigned int */ | ||||||
| #define SIZE_MIN (-__STDINT_EXP(LONG_MAX) - 1L) | #define SIZE_MAX (__STDINT_EXP(LONG_MAX) * 2UL + 1) | ||||||
| #define SIZE_MAX __STDINT_EXP(LONG_MAX) |  | ||||||
|  |  | ||||||
| /* This must match sig_atomic_t in <signal.h> (currently int) */ | /* This must match sig_atomic_t in <signal.h> (currently int) */ | ||||||
| #define SIG_ATOMIC_MIN (-__STDINT_EXP(INT_MAX) - 1) | #define SIG_ATOMIC_MIN (-__STDINT_EXP(INT_MAX) - 1) | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user