diff options
author | Ulrich Drepper <drepper@gmail.com> | 2012-01-07 23:57:22 -0500 |
---|---|---|
committer | Ulrich Drepper <drepper@gmail.com> | 2012-01-07 23:57:22 -0500 |
commit | a784e502472fb3a1afa4d01a47c66b52d23e00f6 (patch) | |
tree | 5ebaa084119dcffe41671a62e2e799b172c57d24 /sysdeps/sparc | |
parent | 33808bf1164be2e7c8535bdd5ac398c75c33ed49 (diff) | |
download | glibc-a784e502472fb3a1afa4d01a47c66b52d23e00f6.tar.gz glibc-a784e502472fb3a1afa4d01a47c66b52d23e00f6.tar.xz glibc-a784e502472fb3a1afa4d01a47c66b52d23e00f6.zip |
Remove pre-ISO C support
No more __const.
Diffstat (limited to 'sysdeps/sparc')
-rw-r--r-- | sysdeps/sparc/fpu/bits/fenv.h | 6 | ||||
-rw-r--r-- | sysdeps/sparc/fpu/bits/mathinline.h | 10 |
2 files changed, 8 insertions, 8 deletions
diff --git a/sysdeps/sparc/fpu/bits/fenv.h b/sysdeps/sparc/fpu/bits/fenv.h index d2ef97e0e7..528ead9282 100644 --- a/sysdeps/sparc/fpu/bits/fenv.h +++ b/sysdeps/sparc/fpu/bits/fenv.h @@ -1,4 +1,4 @@ -/* Copyright (C) 1997, 1998, 1999, 2000 Free Software Foundation, Inc. +/* Copyright (C) 1997, 1998, 1999, 2000, 2012 Free Software Foundation, Inc. This file is part of the GNU C Library. The GNU C Library is free software; you can redistribute it and/or @@ -68,11 +68,11 @@ typedef unsigned long int fexcept_t; typedef unsigned long int fenv_t; /* If the default argument is used we use this value. */ -#define FE_DFL_ENV ((__const fenv_t *) -1) +#define FE_DFL_ENV ((const fenv_t *) -1) #ifdef __USE_GNU /* Floating-point environment where none of the exception is masked. */ -# define FE_NOMASK_ENV ((__const fenv_t *) -2) +# define FE_NOMASK_ENV ((const fenv_t *) -2) #endif /* For internal use only: access the fp state register. */ diff --git a/sysdeps/sparc/fpu/bits/mathinline.h b/sysdeps/sparc/fpu/bits/mathinline.h index d3ff44c5a9..5c69c791d3 100644 --- a/sysdeps/sparc/fpu/bits/mathinline.h +++ b/sysdeps/sparc/fpu/bits/mathinline.h @@ -1,5 +1,5 @@ /* Inline math functions for SPARC. - Copyright (C) 1999, 2000, 2001, 2002, 2004, 2006, 2007 + Copyright (C) 1999, 2000, 2001, 2002, 2004, 2006, 2007, 2012 Free Software Foundation, Inc. This file is part of the GNU C Library. Contributed by Jakub Jelinek <jakub@redhat.com>. @@ -215,7 +215,7 @@ __MATH_INLINE long double __NTH (sqrtl (long double __x)) { long double __r; - extern void _Qp_sqrt (long double *, __const__ long double *); + extern void _Qp_sqrt (long double *, const long double *); _Qp_sqrt (&__r, &__x); return __r; } @@ -223,7 +223,7 @@ __NTH (sqrtl (long double __x)) __MATH_INLINE long double sqrtl (long double __x) __THROW { - extern long double _Q_sqrt (__const__ long double); + extern long double _Q_sqrt (const long double); return _Q_sqrt (__x); } # endif /* sparc64 */ @@ -253,7 +253,7 @@ __MATH_INLINE long double __ieee754_sqrtl (long double __x) { long double __r; - extern void _Qp_sqrt (long double *, __const__ long double *); + extern void _Qp_sqrt (long double *, const long double *); _Qp_sqrt(&__r, &__x); return __r; } @@ -261,7 +261,7 @@ __ieee754_sqrtl (long double __x) __MATH_INLINE long double __ieee754_sqrtl (long double __x) { - extern long double _Q_sqrt (__const__ long double); + extern long double _Q_sqrt (const long double); return _Q_sqrt (__x); } # endif /* sparc64 */ |