diff options
author | Eric Andersen <andersen@codepoet.org> | 2002-08-25 22:04:43 +0000 |
---|---|---|
committer | Eric Andersen <andersen@codepoet.org> | 2002-08-25 22:04:43 +0000 |
commit | 9a1eb39a6018cdf98de8518a9dd68c67098b6dcb (patch) | |
tree | 9064a01a4f45f3c68df901b7182f91debc2da7d7 /include | |
parent | e320f52df9f172fa3fee4218029a2f4dd4fefbfd (diff) |
Kill the HAS_LONG_LONG option. It really did not make a lot of
sense to exclude it, gcc always supports long long, and we never
fully excluded long long anyways (off64_t for example).
-Erik
Diffstat (limited to 'include')
-rw-r--r-- | include/stdlib.h | 16 |
1 files changed, 0 insertions, 16 deletions
diff --git a/include/stdlib.h b/include/stdlib.h index 555d48a55..637bf705c 100644 --- a/include/stdlib.h +++ b/include/stdlib.h @@ -109,7 +109,6 @@ typedef struct # define __ldiv_t_defined 1 #endif -#ifdef __UCLIBC_HAS_LONG_LONG__ #if defined __USE_ISOC99 && !defined __lldiv_t_defined /* Returned by `lldiv'. */ __extension__ typedef struct @@ -119,7 +118,6 @@ __extension__ typedef struct } lldiv_t; # define __lldiv_t_defined 1 #endif -#endif /* __UCLIBC_HAS_LONG_LONG__ */ /* The largest number rand will return (same as INT_MAX). */ @@ -147,13 +145,11 @@ extern int atoi (__const char *__nptr) __THROW __attribute_pure__; /* Convert a string to a long integer. */ extern long int atol (__const char *__nptr) __THROW __attribute_pure__; -#ifdef __UCLIBC_HAS_LONG_LONG__ #if defined __USE_ISOC99 || (defined __GNUC__ && defined __USE_MISC) /* Convert a string to a long long integer. */ __extension__ extern long long int atoll (__const char *__nptr) __THROW __attribute_pure__; #endif -#endif /* __UCLIBC_HAS_LONG_LONG__ */ #ifdef __UCLIBC_HAS_FLOATS__ /* Convert a string to a floating-point number. */ @@ -178,7 +174,6 @@ extern unsigned long int strtoul (__const char *__restrict __nptr, char **__restrict __endptr, int __base) __THROW; -#ifdef __UCLIBC_HAS_LONG_LONG__ #if defined __GNUC__ && defined __USE_BSD /* Convert a string to a quadword integer. */ __extension__ @@ -204,7 +199,6 @@ extern unsigned long long int strtoull (__const char *__restrict __nptr, char **__restrict __endptr, int __base) __THROW; #endif /* ISO C99 or GCC and use MISC. */ -#endif /* __UCLIBC_HAS_LONG_LONG__ */ #if 0 @@ -284,7 +278,6 @@ extern unsigned long int __strtoul_internal (__const char *__restrict __nptr, int __base, int __group) __THROW; # define __strtoul_internal_defined 1 #endif -#ifdef __UCLIBC_HAS_LONG_LONG__ #if defined __GNUC__ || defined __USE_ISOC99 # ifndef __strtoll_internal_defined __extension__ @@ -303,7 +296,6 @@ extern unsigned long long int __strtoull_internal (__const char * # define __strtoull_internal_defined 1 # endif #endif /* GCC */ -#endif /* __UCLIBC_HAS_LONG_LONG__ */ #ifdef __USE_EXTERN_INLINES /* Define inline functions which call the internal entry points. */ @@ -503,11 +495,7 @@ struct drand48_data unsigned short int __old_x[3]; /* Old state. */ unsigned short int __c; /* Additive const. in congruential formula. */ unsigned short int __init; /* Flag for initializing. */ -#ifdef __UCLIBC_HAS_LONG_LONG__ unsigned long long int __a; /* Factor in congruential formula. */ -#else - unsigned long __a0, __a1; -#endif /* __UCLIBC_HAS_LONG_LONG__ */ }; #ifdef __UCLIBC_HAS_FLOATS__ @@ -729,12 +717,10 @@ extern void qsort (void *__base, size_t __nmemb, size_t __size, /* Return the absolute value of X. */ extern int abs (int __x) __THROW __attribute__ ((__const__)); extern long int labs (long int __x) __THROW __attribute__ ((__const__)); -#ifdef __UCLIBC_HAS_LONG_LONG__ #ifdef __USE_ISOC99 __extension__ extern long long int llabs (long long int __x) __THROW __attribute__ ((__const__)); #endif -#endif /* #ifdef __UCLIBC_HAS_LONG_LONG__ */ /* Return the `div_t', `ldiv_t' or `lldiv_t' representation @@ -744,13 +730,11 @@ extern div_t div (int __numer, int __denom) __THROW __attribute__ ((__const__)); extern ldiv_t ldiv (long int __numer, long int __denom) __THROW __attribute__ ((__const__)); -#ifdef __UCLIBC_HAS_LONG_LONG__ #ifdef __USE_ISOC99 __extension__ extern lldiv_t lldiv (long long int __numer, long long int __denom) __THROW __attribute__ ((__const__)); #endif -#endif /* __UCLIBC_HAS_LONG_LONG__ */ #ifdef __UCLIBC_HAS_FLOATS__ |