diff options
author | Ulrich Drepper <drepper@redhat.com> | 1998-10-01 11:00:26 +0000 |
---|---|---|
committer | Ulrich Drepper <drepper@redhat.com> | 1998-10-01 11:00:26 +0000 |
commit | 7782d0bf55c294b7ed872e2590fcf4a683be5e05 (patch) | |
tree | 1e61d31c86a72090043c69ac0a2b41d25e4f86c4 /sysdeps/wordsize-32 | |
parent | e3e4e463cf18e47448e92f6cb2c126b9828cd2ca (diff) | |
download | glibc-7782d0bf55c294b7ed872e2590fcf4a683be5e05.tar glibc-7782d0bf55c294b7ed872e2590fcf4a683be5e05.tar.gz glibc-7782d0bf55c294b7ed872e2590fcf4a683be5e05.tar.bz2 glibc-7782d0bf55c294b7ed872e2590fcf4a683be5e05.zip |
Update.
* sys/types.h: Protect use of long long by __extension__.
* stdlib/stdlib.h: Likewise.
* string/string.h: Likewise.
* sysdeps/i386/bits/byteswap.h: Likewise.
* sysdeps/geeric/bits/byteswap.h: Likewise.
* sysdeps/i386/fpu/bits/mathinline.h: Likewise.
* sysdeps/unix/sysv/linux/bits/types.h: Likewise.
* sysdeps/unix/sysv/linux/mips/bits/types.h: Likewise.
* sysdeps/wordsize-32/inttypes.h: Likewise.
* sysdeps/wordsize-32/stdint.h: Likewise.
* wcsmbs/wchar.h: Likewise.
Diffstat (limited to 'sysdeps/wordsize-32')
-rw-r--r-- | sysdeps/wordsize-32/inttypes.h | 4 | ||||
-rw-r--r-- | sysdeps/wordsize-32/stdint.h | 10 |
2 files changed, 12 insertions, 2 deletions
diff --git a/sysdeps/wordsize-32/inttypes.h b/sysdeps/wordsize-32/inttypes.h index 250cbe31dd..6144411e24 100644 --- a/sysdeps/wordsize-32/inttypes.h +++ b/sysdeps/wordsize-32/inttypes.h @@ -271,6 +271,7 @@ extern uintmax_t wcstoumax __P ((__const wchar_t * __restrict __nptr, /* Like `strtol' but convert to `intmax_t'. */ # ifndef __strtoll_internal_defined +__extension__ extern long long int __strtoll_internal __P ((__const char *__restrict __nptr, char **__restrict __endptr, int __base, int __group)); @@ -284,6 +285,7 @@ strtoimax (__const char *__restrict nptr, char **__restrict endptr, int base) /* Like `strtoul' but convert to `uintmax_t'. */ # ifndef __strtoull_internal_defined +__extension__ extern unsigned long long int __strtoull_internal __P ((__const char * __restrict __nptr, char ** @@ -300,6 +302,7 @@ strtoumax (__const char *__restrict nptr, char **__restrict endptr, int base) /* Like `wcstol' but convert to `intmax_t'. */ # ifndef __wcstoll_internal_defined +__extension__ extern long long int __wcstoll_internal __P ((__const wchar_t * __restrict __nptr, wchar_t **__restrict __endptr, @@ -316,6 +319,7 @@ wcstoimax (__const wchar_t *__restrict nptr, wchar_t **__restrict endptr, /* Like `wcstoul' but convert to `uintmax_t'. */ # ifndef __wcstoull_internal_defined +__extension__ extern unsigned long long int __wcstoull_internal __P ((__const wchar_t * __restrict __nptr, wchar_t ** diff --git a/sysdeps/wordsize-32/stdint.h b/sysdeps/wordsize-32/stdint.h index 2f693e81ff..ef3de98620 100644 --- a/sysdeps/wordsize-32/stdint.h +++ b/sysdeps/wordsize-32/stdint.h @@ -37,6 +37,7 @@ typedef signed char int8_t; typedef short int int16_t; typedef int int32_t; +__extension__ typedef long long int int64_t; #endif @@ -44,6 +45,7 @@ typedef long long int int64_t; typedef unsigned char uint8_t; typedef unsigned short int uint16_t; typedef unsigned int uint32_t; +__extension__ typedef unsigned long long int uint64_t; @@ -53,12 +55,14 @@ typedef unsigned long long int uint64_t; typedef signed char int_least8_t; typedef short int int_least16_t; typedef int int_least32_t; +__extension__ typedef long long int int_least64_t; /* Unsigned. */ typedef unsigned char uint_least8_t; typedef unsigned short int uint_least16_t; typedef unsigned int uint_least32_t; +__extension__ typedef unsigned long long int uint_least64_t; @@ -68,12 +72,14 @@ typedef unsigned long long int uint_least64_t; typedef signed char int_fast8_t; typedef int int_fast16_t; typedef int int_fast32_t; +__extension__ typedef long long int int_fast64_t; /* Unsigned. */ typedef unsigned char uint_fast8_t; typedef unsigned int uint_fast16_t; typedef unsigned int uint_fast32_t; +__extension__ typedef unsigned long long int uint_fast64_t; @@ -86,8 +92,8 @@ typedef unsigned int uintptr_t; /* Largest integral types. */ -typedef long long int intmax_t; -typedef unsigned long long int uintmax_t; +__extension__ typedef long long int intmax_t; +__extension__ typedef unsigned long long int uintmax_t; /* The ISO C 9X standard specifies that these macros must only be |