diff options
author | Ulrich Drepper <drepper@redhat.com> | 1999-10-31 17:37:43 +0000 |
---|---|---|
committer | Ulrich Drepper <drepper@redhat.com> | 1999-10-31 17:37:43 +0000 |
commit | ec751a23c0989ae9665ef268f6ef44b99fd1939f (patch) | |
tree | 1cbae626b385a826da82d4bf8c2955de40a7fd59 /stdlib | |
parent | 8adcb4a8ede2176b0550fc49c74de3c4a0320b5e (diff) | |
download | glibc-ec751a23c0989ae9665ef268f6ef44b99fd1939f.zip glibc-ec751a23c0989ae9665ef268f6ef44b99fd1939f.tar.gz glibc-ec751a23c0989ae9665ef268f6ef44b99fd1939f.tar.bz2 |
Update.
1999-10-31 Ulrich Drepper <drepper@cygnus.com>
* includes/features.h: Replace __USE_ISOC9X by __USE_ISOC99 and also
recognize _ISOC99_SOURCE.
* libio/stdio.h: Likewise.
* math/math.h: Likewise.
* math/bits/mathcalls.h: Likewise.
* math/stdio.h: Likewise.
* stdlib/stdlib.h: Likewise.
* sysdeps/alpha/fpu/bits/mathdef.h: Likewise.
* sysdeps/alpha/fpu/bits/mathinline.h: Likewise.
* sysdeps/arm/bits/huge_val.h: Likewise.
* sysdeps/generic/bits/mathdef.h: Likewise.
* sysdeps/i386/bits/huge_val.h: Likewise.
* sysdeps/i386/fpu/bits/mathdef.h: Likewise.
* sysdeps/i386/fpu/bits/mathinline.h: Likewise.
* sysdeps/ieee754/bits/huge_val.h: Likewise.
* sysdeps/m68k/bits/huge_val.h: Likewise.
* sysdeps/m68k/fpu/bits/mathdef.h: Likewise.
* sysdeps/m68k/fpu/bits/mathinline.h: Likewise.
* sysdeps/powerpc/bits/mathdef.h: Likewise.
* sysdeps/powerpc/bits/mathinline.h: Likewise.
* sysdeps/sparc/fpu/bits/mathdef.h: Likewise.
* sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
* sysdeps/sparc/sparc32/fpu/bits/huge_val.h: Likewise.
* wcsmbs/wchar.h: Likewise.
* sysdeps/powerpc/bits/mathdef.h: Moved to...
* sysdeps/powerpc/fpu/bits/mathdef.h: ...here.
* sysdeps/powerpc/bits/mathinline.h: Moved to...
* sysdeps/powerpc/fpu/bits/mathinline.h: ...here.
1999-10-31 Andreas Jaeger <aj@suse.de>
* manual/math.texi (Errors in Math Functions): Correct TeX code.
1999-10-31 Andreas Jaeger <aj@suse.de>
* math/libm-test.inc: Change comments to use ISO C99 instead of
ISO C9x.
* math/w_lgamma.c: Likewise.
* math/w_lgammaf.c: Likewise.
* math/w_lgammal.c: Likewise.
* math/test-fenv.c: Likewise.
* sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
* sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
* sysdeps/generic/printf_fphex.c: Likewise.
1999-10-31 Andreas Jaeger <aj@suse.de>
* manual/arith.texi (Parsing of Floats): Remove C from ISO C comment.
* manual/math.texi: Change ISO C9x to ISO C99.
* manual/startup.texi: Likewise.
* manual/stdio.texi: Likewise.
1999-10-31 Andreas Jaeger <aj@suse.de>
* manual/arith.texi: Change ISO C9x to ISO C99.
* manual/time.texi (Low-Level Time String Parsing): Likewise.
Diffstat (limited to 'stdlib')
-rw-r--r-- | stdlib/stdlib.h | 28 |
1 files changed, 14 insertions, 14 deletions
diff --git a/stdlib/stdlib.h b/stdlib/stdlib.h index 30a1083..ac4baba 100644 --- a/stdlib/stdlib.h +++ b/stdlib/stdlib.h @@ -54,7 +54,7 @@ typedef struct # define __ldiv_t_defined 1 #endif -#if defined __USE_ISOC9X && !defined __lldiv_t_defined +#if defined __USE_ISOC99 && !defined __lldiv_t_defined /* Returned by `lldiv'. */ __extension__ typedef struct { @@ -87,8 +87,8 @@ extern int atoi (__const char *__nptr) __THROW; /* Convert a string to a long integer. */ extern long int atol (__const char *__nptr) __THROW; -#if defined __USE_ISOC9X || (defined __GNUC__ && defined __USE_MISC) -/* These functions will part of the standard C library in ISO C 9X. */ +#if defined __USE_ISOC99 || (defined __GNUC__ && defined __USE_MISC) +/* These functions will part of the standard C library in ISO C99. */ __extension__ extern long long int atoll (__const char *__nptr) __THROW; #endif @@ -96,7 +96,7 @@ __extension__ extern long long int atoll (__const char *__nptr) __THROW; extern double strtod (__const char *__restrict __nptr, char **__restrict __endptr) __THROW; -#ifdef __USE_ISOC9X +#ifdef __USE_ISOC99 /* Likewise for `float' and `long double' sizes of floating-point numbers. */ extern float strtof (__const char *__restrict __nptr, char **__restrict __endptr) __THROW; @@ -125,8 +125,8 @@ extern unsigned long long int strtouq (__const char *__restrict __nptr, __THROW; #endif /* GCC and use BSD. */ -#if defined __USE_ISOC9X || (defined __GNUC__ && defined __USE_MISC) -/* These functions will part of the standard C library in ISO C 9X. */ +#if defined __USE_ISOC99 || (defined __GNUC__ && defined __USE_MISC) +/* These functions will part of the standard C library in ISO C99. */ /* Convert a string to a quadword integer. */ __extension__ @@ -137,7 +137,7 @@ __extension__ extern unsigned long long int strtoull (__const char *__restrict __nptr, char **__restrict __endptr, int __base) __THROW; -#endif /* ISO C 9X or GCC and use MISC. */ +#endif /* ISO C99 or GCC and use MISC. */ #ifdef __USE_GNU @@ -214,7 +214,7 @@ extern unsigned long int __strtoul_internal (__const char *__restrict __nptr, int __base, int __group) __THROW; # define __strtoul_internal_defined 1 #endif -#if defined __GNUC__ || defined __USE_ISOC9X +#if defined __GNUC__ || defined __USE_ISOC99 # ifndef __strtoll_internal_defined __extension__ extern long long int __strtoll_internal (__const char *__restrict __nptr, @@ -255,7 +255,7 @@ strtoul (__const char *__restrict __nptr, char **__restrict __endptr, return __strtoul_internal (__nptr, __endptr, __base, 0); } -# ifdef __USE_ISOC9X +# ifdef __USE_ISOC99 extern __inline float strtof (__const char *__restrict __nptr, char **__restrict __endptr) __THROW { @@ -283,7 +283,7 @@ strtouq (__const char *__restrict __nptr, char **__restrict __endptr, } # endif -# if defined __USE_MISC || defined __USE_ISOC9X +# if defined __USE_MISC || defined __USE_ISOC99 __extension__ extern __inline long long int strtoll (__const char *__restrict __nptr, char **__restrict __endptr, int __base) __THROW @@ -314,7 +314,7 @@ atol (__const char *__nptr) __THROW return strtol (__nptr, (char **) NULL, 10); } -# if defined __USE_MISC || defined __USE_ISOC9X +# if defined __USE_MISC || defined __USE_ISOC99 __extension__ extern __inline long long int atoll (__const char *__nptr) __THROW { @@ -517,7 +517,7 @@ extern int on_exit (void (*__func) (int __status, void *__arg), void *__arg) perform stdio cleanup, and terminate program execution with STATUS. */ extern void exit (int __status) __THROW __attribute__ ((__noreturn__)); -#ifdef __USE_ISOC9X +#ifdef __USE_ISOC99 /* Terminate the program with STATUS without calling any of the functions registered with `atexit' or `on_exit'. */ extern void _Exit (int __status) __THROW __attribute__ ((__noreturn__)); @@ -628,7 +628,7 @@ 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 __USE_ISOC9X +#ifdef __USE_ISOC99 __extension__ extern long long int llabs (long long int __x) __THROW __attribute__ ((__const__)); #endif @@ -641,7 +641,7 @@ 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 __USE_ISOC9X +#ifdef __USE_ISOC99 __extension__ extern lldiv_t lldiv (long long int __numer, long long int __denom) __THROW __attribute__ ((__const__)); |