[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Commits] r16867 - in /fsf/trunk/libc: ./ elf/ math/ sysdeps/i386/fpu/ sysdeps/ieee754/ sysdeps/ieee754/dbl-64/ sysdeps/ieee754/dbl-64...



Author: eglibc
Date: Sat Jan 28 00:03:18 2012
New Revision: 16867

Log:
Import glibc-mainline for 2012-01-28

Added:
    fsf/trunk/libc/elf/tst-relsort1.c
    fsf/trunk/libc/elf/tst-relsort1mod1.c
    fsf/trunk/libc/elf/tst-relsort1mod2.c
Modified:
    fsf/trunk/libc/ChangeLog
    fsf/trunk/libc/Makeconfig
    fsf/trunk/libc/NEWS
    fsf/trunk/libc/elf/Makefile
    fsf/trunk/libc/elf/dl-init.c
    fsf/trunk/libc/elf/dl-open.c
    fsf/trunk/libc/math/s_ldexp.c
    fsf/trunk/libc/math/s_ldexpf.c
    fsf/trunk/libc/math/s_ldexpl.c
    fsf/trunk/libc/math/s_nextafter.c
    fsf/trunk/libc/math/s_nexttowardf.c
    fsf/trunk/libc/math/s_significand.c
    fsf/trunk/libc/math/s_significandf.c
    fsf/trunk/libc/math/s_significandl.c
    fsf/trunk/libc/math/w_jnl.c
    fsf/trunk/libc/sysdeps/i386/fpu/s_isinfl.c
    fsf/trunk/libc/sysdeps/i386/fpu/s_isnanl.c
    fsf/trunk/libc/sysdeps/i386/fpu/s_nextafterl.c
    fsf/trunk/libc/sysdeps/i386/fpu/s_nexttoward.c
    fsf/trunk/libc/sysdeps/i386/fpu/s_nexttowardf.c
    fsf/trunk/libc/sysdeps/ieee754/dbl-64/k_rem_pio2.c
    fsf/trunk/libc/sysdeps/ieee754/dbl-64/k_tan.c
    fsf/trunk/libc/sysdeps/ieee754/dbl-64/s_copysign.c
    fsf/trunk/libc/sysdeps/ieee754/dbl-64/s_erf.c
    fsf/trunk/libc/sysdeps/ieee754/dbl-64/s_fabs.c
    fsf/trunk/libc/sysdeps/ieee754/dbl-64/s_finite.c
    fsf/trunk/libc/sysdeps/ieee754/dbl-64/s_floor.c
    fsf/trunk/libc/sysdeps/ieee754/dbl-64/s_frexp.c
    fsf/trunk/libc/sysdeps/ieee754/dbl-64/s_ilogb.c
    fsf/trunk/libc/sysdeps/ieee754/dbl-64/s_isnan.c
    fsf/trunk/libc/sysdeps/ieee754/dbl-64/s_logb.c
    fsf/trunk/libc/sysdeps/ieee754/dbl-64/s_nearbyint.c
    fsf/trunk/libc/sysdeps/ieee754/dbl-64/s_tanh.c
    fsf/trunk/libc/sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c
    fsf/trunk/libc/sysdeps/ieee754/flt-32/e_acoshf.c
    fsf/trunk/libc/sysdeps/ieee754/flt-32/e_asinf.c
    fsf/trunk/libc/sysdeps/ieee754/flt-32/e_rem_pio2f.c
    fsf/trunk/libc/sysdeps/ieee754/flt-32/k_cosf.c
    fsf/trunk/libc/sysdeps/ieee754/flt-32/k_rem_pio2f.c
    fsf/trunk/libc/sysdeps/ieee754/flt-32/k_sinf.c
    fsf/trunk/libc/sysdeps/ieee754/flt-32/k_tanf.c
    fsf/trunk/libc/sysdeps/ieee754/flt-32/s_atanf.c
    fsf/trunk/libc/sysdeps/ieee754/flt-32/s_copysignf.c
    fsf/trunk/libc/sysdeps/ieee754/flt-32/s_cosf.c
    fsf/trunk/libc/sysdeps/ieee754/flt-32/s_erff.c
    fsf/trunk/libc/sysdeps/ieee754/flt-32/s_fabsf.c
    fsf/trunk/libc/sysdeps/ieee754/flt-32/s_finitef.c
    fsf/trunk/libc/sysdeps/ieee754/flt-32/s_frexpf.c
    fsf/trunk/libc/sysdeps/ieee754/flt-32/s_ilogbf.c
    fsf/trunk/libc/sysdeps/ieee754/flt-32/s_isnanf.c
    fsf/trunk/libc/sysdeps/ieee754/flt-32/s_logbf.c
    fsf/trunk/libc/sysdeps/ieee754/flt-32/s_nextafterf.c
    fsf/trunk/libc/sysdeps/ieee754/flt-32/s_sinf.c
    fsf/trunk/libc/sysdeps/ieee754/flt-32/s_tanf.c
    fsf/trunk/libc/sysdeps/ieee754/flt-32/s_tanhf.c
    fsf/trunk/libc/sysdeps/ieee754/k_standard.c
    fsf/trunk/libc/sysdeps/ieee754/ldbl-128/e_asinl.c
    fsf/trunk/libc/sysdeps/ieee754/ldbl-128/k_tanl.c
    fsf/trunk/libc/sysdeps/ieee754/ldbl-128/s_asinhl.c
    fsf/trunk/libc/sysdeps/ieee754/ldbl-128/s_ceill.c
    fsf/trunk/libc/sysdeps/ieee754/ldbl-128/s_copysignl.c
    fsf/trunk/libc/sysdeps/ieee754/ldbl-128/s_cosl.c
    fsf/trunk/libc/sysdeps/ieee754/ldbl-128/s_erfl.c
    fsf/trunk/libc/sysdeps/ieee754/ldbl-128/s_fabsl.c
    fsf/trunk/libc/sysdeps/ieee754/ldbl-128/s_finitel.c
    fsf/trunk/libc/sysdeps/ieee754/ldbl-128/s_floorl.c
    fsf/trunk/libc/sysdeps/ieee754/ldbl-128/s_frexpl.c
    fsf/trunk/libc/sysdeps/ieee754/ldbl-128/s_ilogbl.c
    fsf/trunk/libc/sysdeps/ieee754/ldbl-128/s_isnanl.c
    fsf/trunk/libc/sysdeps/ieee754/ldbl-128/s_logbl.c
    fsf/trunk/libc/sysdeps/ieee754/ldbl-128/s_modfl.c
    fsf/trunk/libc/sysdeps/ieee754/ldbl-128/s_nearbyintl.c
    fsf/trunk/libc/sysdeps/ieee754/ldbl-128/s_nextafterl.c
    fsf/trunk/libc/sysdeps/ieee754/ldbl-128/s_nexttoward.c
    fsf/trunk/libc/sysdeps/ieee754/ldbl-128/s_nexttowardf.c
    fsf/trunk/libc/sysdeps/ieee754/ldbl-128/s_rintl.c
    fsf/trunk/libc/sysdeps/ieee754/ldbl-128/s_scalblnl.c
    fsf/trunk/libc/sysdeps/ieee754/ldbl-128/s_scalbnl.c
    fsf/trunk/libc/sysdeps/ieee754/ldbl-128/s_sinl.c
    fsf/trunk/libc/sysdeps/ieee754/ldbl-128/s_tanhl.c
    fsf/trunk/libc/sysdeps/ieee754/ldbl-128/s_tanl.c
    fsf/trunk/libc/sysdeps/ieee754/ldbl-128/w_expl.c
    fsf/trunk/libc/sysdeps/ieee754/ldbl-128ibm/e_acosl.c
    fsf/trunk/libc/sysdeps/ieee754/ldbl-128ibm/e_asinl.c
    fsf/trunk/libc/sysdeps/ieee754/ldbl-128ibm/e_jnl.c
    fsf/trunk/libc/sysdeps/ieee754/ldbl-128ibm/k_tanl.c
    fsf/trunk/libc/sysdeps/ieee754/ldbl-128ibm/s_asinhl.c
    fsf/trunk/libc/sysdeps/ieee754/ldbl-128ibm/s_ceill.c
    fsf/trunk/libc/sysdeps/ieee754/ldbl-128ibm/s_copysignl.c
    fsf/trunk/libc/sysdeps/ieee754/ldbl-128ibm/s_cosl.c
    fsf/trunk/libc/sysdeps/ieee754/ldbl-128ibm/s_erfl.c
    fsf/trunk/libc/sysdeps/ieee754/ldbl-128ibm/s_fabsl.c
    fsf/trunk/libc/sysdeps/ieee754/ldbl-128ibm/s_floorl.c
    fsf/trunk/libc/sysdeps/ieee754/ldbl-128ibm/s_frexpl.c
    fsf/trunk/libc/sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c
    fsf/trunk/libc/sysdeps/ieee754/ldbl-128ibm/s_llrintl.c
    fsf/trunk/libc/sysdeps/ieee754/ldbl-128ibm/s_llroundl.c
    fsf/trunk/libc/sysdeps/ieee754/ldbl-128ibm/s_logbl.c
    fsf/trunk/libc/sysdeps/ieee754/ldbl-128ibm/s_lrintl.c
    fsf/trunk/libc/sysdeps/ieee754/ldbl-128ibm/s_lroundl.c
    fsf/trunk/libc/sysdeps/ieee754/ldbl-128ibm/s_modfl.c
    fsf/trunk/libc/sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c
    fsf/trunk/libc/sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c
    fsf/trunk/libc/sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c
    fsf/trunk/libc/sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c
    fsf/trunk/libc/sysdeps/ieee754/ldbl-128ibm/s_rintl.c
    fsf/trunk/libc/sysdeps/ieee754/ldbl-128ibm/s_roundl.c
    fsf/trunk/libc/sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c
    fsf/trunk/libc/sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c
    fsf/trunk/libc/sysdeps/ieee754/ldbl-128ibm/s_sinl.c
    fsf/trunk/libc/sysdeps/ieee754/ldbl-128ibm/s_tanhl.c
    fsf/trunk/libc/sysdeps/ieee754/ldbl-128ibm/s_tanl.c
    fsf/trunk/libc/sysdeps/ieee754/ldbl-128ibm/s_truncl.c
    fsf/trunk/libc/sysdeps/ieee754/ldbl-96/e_asinl.c
    fsf/trunk/libc/sysdeps/ieee754/ldbl-96/e_hypotl.c
    fsf/trunk/libc/sysdeps/ieee754/ldbl-96/s_asinhl.c
    fsf/trunk/libc/sysdeps/ieee754/ldbl-96/s_ceill.c
    fsf/trunk/libc/sysdeps/ieee754/ldbl-96/s_copysignl.c
    fsf/trunk/libc/sysdeps/ieee754/ldbl-96/s_cosl.c
    fsf/trunk/libc/sysdeps/ieee754/ldbl-96/s_erfl.c
    fsf/trunk/libc/sysdeps/ieee754/ldbl-96/s_fabsl.c
    fsf/trunk/libc/sysdeps/ieee754/ldbl-96/s_finitel.c
    fsf/trunk/libc/sysdeps/ieee754/ldbl-96/s_floorl.c
    fsf/trunk/libc/sysdeps/ieee754/ldbl-96/s_frexpl.c
    fsf/trunk/libc/sysdeps/ieee754/ldbl-96/s_ilogbl.c
    fsf/trunk/libc/sysdeps/ieee754/ldbl-96/s_isnanl.c
    fsf/trunk/libc/sysdeps/ieee754/ldbl-96/s_logbl.c
    fsf/trunk/libc/sysdeps/ieee754/ldbl-96/s_nearbyintl.c
    fsf/trunk/libc/sysdeps/ieee754/ldbl-96/s_nextafterl.c
    fsf/trunk/libc/sysdeps/ieee754/ldbl-96/s_nexttoward.c
    fsf/trunk/libc/sysdeps/ieee754/ldbl-96/s_nexttowardf.c
    fsf/trunk/libc/sysdeps/ieee754/ldbl-96/s_rintl.c
    fsf/trunk/libc/sysdeps/ieee754/ldbl-96/s_sinl.c
    fsf/trunk/libc/sysdeps/ieee754/ldbl-96/s_tanhl.c
    fsf/trunk/libc/sysdeps/ieee754/ldbl-96/s_tanl.c
    fsf/trunk/libc/sysdeps/ieee754/s_matherr.c
    fsf/trunk/libc/sysdeps/powerpc/fpu/w_sqrt.c
    fsf/trunk/libc/sysdeps/powerpc/fpu/w_sqrtf.c
    fsf/trunk/libc/sysdeps/powerpc/powerpc32/a2/memcpy.S
    fsf/trunk/libc/sysdeps/powerpc/powerpc64/a2/memcpy.S
    fsf/trunk/libc/sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c
    fsf/trunk/libc/sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c

Modified: fsf/trunk/libc/ChangeLog
==============================================================================
--- fsf/trunk/libc/ChangeLog (original)
+++ fsf/trunk/libc/ChangeLog Sat Jan 28 00:03:18 2012
@@ -1,3 +1,157 @@
+2012-01-19  Adhemerval Zanella  <azanella@xxxxxxxxxxxxxxxxxx>
+
+	* sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
+	size is not set.
+	* sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
+
+2012-01-27  Ulrich Drepper  <drepper@xxxxxxxxx>
+
+	[BZ #13618]
+	* elf/dl-open.c (dl_open_worker): Sort objects by dependency before
+	relocation.
+	* Makeconfig (libm): Define.
+	* elf/Makefile: Add rules to build and run tst-relsort1.
+	* elf/tst-relsort1.c: New file.
+	* elf/tst-relsort1mod1.c: New file.
+	* elf/tst-relsort1mod2.c: New file.
+
+2012-01-27  Joseph Myers  <joseph@xxxxxxxxxxxxxxxx>
+
+	* math/s_ldexp.c: Remove __STDC__ conditionals.
+	* math/s_ldexpf.c: Likewise.
+	* math/s_ldexpl.c: Likewise.
+	* math/s_nextafter.c: Likewise.
+	* math/s_nexttowardf.c: Likewise.
+	* math/s_significand.c: Likewise.
+	* math/s_significandf.c: Likewise.
+	* math/s_significandl.c: Likewise.
+	* math/w_jnl.c: Likewise.
+	* sysdeps/i386/fpu/s_isinfl.c: Likewise.
+	* sysdeps/i386/fpu/s_isnanl.c: Likewise.
+	* sysdeps/i386/fpu/s_nextafterl.c: Likewise.
+	* sysdeps/i386/fpu/s_nexttoward.c: Likewise.
+	* sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
+	* sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
+	* sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
+	* sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
+	* sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
+	* sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
+	* sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
+	* sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
+	* sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
+	* sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
+	* sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
+	* sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
+	* sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
+	* sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
+	* sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
+	* sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
+	* sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
+	* sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
+	* sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
+	* sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
+	* sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
+	* sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
+	* sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
+	* sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
+	* sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
+	* sysdeps/ieee754/flt-32/s_erff.c: Likewise.
+	* sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
+	* sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
+	* sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
+	* sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
+	* sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
+	* sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
+	* sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
+	* sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
+	* sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
+	* sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
+	* sysdeps/ieee754/k_standard.c: Likewise.
+	* sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
+	* sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
+	* sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
+	* sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
+	* sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
+	* sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
+	* sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
+	* sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
+	* sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
+	* sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
+	* sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
+	* sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
+	* sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
+	* sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
+	* sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
+	* sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
+	* sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
+	* sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
+	* sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
+	* sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
+	* sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
+	* sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
+	* sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
+	* sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
+	* sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
+	* sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
+	* sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
+	* sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
+	* sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
+	* sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
+	* sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
+	* sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
+	* sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
+	* sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
+	* sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
+	* sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
+	* sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
+	* sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
+	* sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
+	* sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
+	* sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
+	* sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
+	* sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
+	* sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
+	* sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
+	* sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
+	* sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
+	* sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
+	* sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
+	* sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
+	* sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
+	* sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
+	* sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
+	* sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
+	* sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
+	* sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
+	* sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
+	* sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
+	* sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
+	* sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
+	* sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
+	* sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
+	* sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
+	* sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
+	* sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
+	* sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
+	* sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
+	* sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
+	* sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
+	* sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
+	* sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
+	* sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
+	* sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
+	* sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
+	* sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
+	* sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
+	* sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
+	* sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
+	* sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
+	* sysdeps/ieee754/s_matherr.c: Likewise.
+	* sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
+	* sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
+	* sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
+	* sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
+
 2012-01-26  Joseph Myers  <joseph@xxxxxxxxxxxxxxxx>
 
 	* crypt/md5.h: Remove __STDC__ conditionals.

Modified: fsf/trunk/libc/Makeconfig
==============================================================================
--- fsf/trunk/libc/Makeconfig (original)
+++ fsf/trunk/libc/Makeconfig Sat Jan 28 00:03:18 2012
@@ -900,6 +900,12 @@
 libdl = $(common-objpfx)dlfcn/libdl.a
 endif
 
+ifeq ($(build-shared),yes)
+libm = $(common-objpfx)math/libm.so$(libm.so-version)
+else
+libm = $(common-objpfx)math/libm.a
+endif
+
 # These are the subdirectories containing the library source.  The order
 # is more or less arbitrary.  The sorting step will take care of the
 # dependencies.

Modified: fsf/trunk/libc/NEWS
==============================================================================
--- fsf/trunk/libc/NEWS (original)
+++ fsf/trunk/libc/NEWS Sat Jan 28 00:03:18 2012
@@ -1,4 +1,4 @@
-GNU C Library NEWS -- history of user-visible changes.  2012-1-26
+GNU C Library NEWS -- history of user-visible changes.  2012-1-27
 Copyright (C) 1992-2009, 2010, 2011, 2012 Free Software Foundation, Inc.
 See the end for copying conditions.
 
@@ -10,7 +10,7 @@
 * The following bugs are resolved with this release:
 
   13525, 13526, 13527, 13528, 13529, 13531, 13532, 13533, 13547, 13530,
-  13551, 13552, 13553, 13555, 13559, 13583
+  13551, 13552, 13553, 13555, 13559, 13583, 13618
 
 * ISO C11 support:
 

Modified: fsf/trunk/libc/elf/Makefile
==============================================================================
--- fsf/trunk/libc/elf/Makefile (original)
+++ fsf/trunk/libc/elf/Makefile Sat Jan 28 00:03:18 2012
@@ -124,7 +124,8 @@
 		   tst-initordera1.c tst-initordera2.c tst-initorderb1.c \
 		   tst-initorderb2.c tst-initordera3.c tst-initordera4.c \
 		   tst-initorder.c \
-		   tst-initorder2.c
+		   tst-initorder2.c \
+		   tst-relsort1.c tst-relsort1mod1.c tst-relsort1mod2.c
 
 CFLAGS-dl-runtime.c = -fexceptions -fasynchronous-unwind-tables
 CFLAGS-dl-lookup.c = -fexceptions -fasynchronous-unwind-tables
@@ -227,7 +228,7 @@
 	 tst-audit1 tst-audit2 \
 	 tst-stackguard1 tst-addr1 tst-thrlock \
 	 tst-unique1 tst-unique2 tst-unique3 tst-unique4 \
-	 tst-initorder tst-initorder2
+	 tst-initorder tst-initorder2 tst-relsort1
 #	 reldep9
 test-srcs = tst-pathopt
 selinux-enabled := $(shell cat /selinux/enforce 2> /dev/null)
@@ -290,7 +291,9 @@
 		tst-initordera1 tst-initorderb1 \
 		tst-initordera2 tst-initorderb2 \
 		tst-initordera3 tst-initordera4 \
-		tst-initorder2a tst-initorder2b tst-initorder2c tst-initorder2d
+		tst-initorder2a tst-initorder2b tst-initorder2c \
+		tst-initorder2d \
+		tst-relsort1mod1 tst-relsort1mod2
 ifeq (yes,$(have-initfini-array))
 modules-names += tst-array2dep tst-array5dep
 endif
@@ -1195,3 +1198,9 @@
 CFLAGS-tst-auditmod6c.c += $(AVX-CFLAGS)
 CFLAGS-tst-auditmod7b.c += $(AVX-CFLAGS)
 endif
+
+$(objpfx)tst-relsort1: $(libdl)
+$(objpfx)tst-relsort1mod1.so: $(libm) $(objpfx)tst-relsort1mod2.so
+$(objpfx)tst-relsort1mod2.so: $(libm)
+$(objpfx)tst-relsort1.out: $(objpfx)tst-relsort1mod1.so \
+			   $(objpfx)tst-relsort1mod2.so

Modified: fsf/trunk/libc/elf/dl-init.c
==============================================================================
--- fsf/trunk/libc/elf/dl-init.c (original)
+++ fsf/trunk/libc/elf/dl-init.c Sat Jan 28 00:03:18 2012
@@ -1,5 +1,5 @@
-/* Return the next shared object initializer function not yet run.
-   Copyright (C) 1995, 1996, 1998-2002, 2004 Free Software Foundation, Inc.
+/* Run initializers for newly loaded objects.
+   Copyright (C) 1995,1996,1998-2002, 2004,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

Modified: fsf/trunk/libc/elf/dl-open.c
==============================================================================
--- fsf/trunk/libc/elf/dl-open.c (original)
+++ fsf/trunk/libc/elf/dl-open.c Sat Jan 28 00:03:18 2012
@@ -1,5 +1,5 @@
 /* Load a shared object at runtime, relocate it, and run its initializer.
-   Copyright (C) 1996-2007, 2009, 2010, 2011 Free Software Foundation, Inc.
+   Copyright (C) 1996-2007, 2009, 2010, 2011, 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
@@ -302,45 +302,109 @@
   if (GLRO(dl_lazy))
     reloc_mode |= mode & RTLD_LAZY;
 
-  /* Relocate the objects loaded.  We do this in reverse order so that copy
-     relocs of earlier objects overwrite the data written by later objects.  */
-
+  /* Sort the objects by dependency for the relocation process.  This
+     allows IFUNC relocations to work and it also means copy
+     relocation of dependencies are if necessary overwritten.  */
+  size_t nmaps = 0;
   struct link_map *l = new;
-  while (l->l_next)
-    l = l->l_next;
-  while (1)
+  do
     {
       if (! l->l_real->l_relocated)
-	{
+	++nmaps;
+      l = l->l_next;
+    }
+  while (l != NULL);
+  struct link_map *maps[nmaps];
+  nmaps = 0;
+  l = new;
+  do
+    {
+      if (! l->l_real->l_relocated)
+	maps[nmaps++] = l;
+      l = l->l_next;
+    }
+  while (l != NULL);
+  if (nmaps > 1)
+    {
+      char seen[nmaps];
+      memset (seen, '\0', nmaps);
+      size_t i = 0;
+      while (1)
+	{
+	  ++seen[i];
+	  struct link_map *thisp = maps[i];
+
+	  /* Find the last object in the list for which the current one is
+	     a dependency and move the current object behind the object
+	     with the dependency.  */
+	  size_t k = nmaps - 1;
+	  while (k > i)
+	    {
+	      struct link_map **runp = maps[k]->l_initfini;
+	      if (runp != NULL)
+		/* Look through the dependencies of the object.  */
+		while (*runp != NULL)
+		  if (__builtin_expect (*runp++ == thisp, 0))
+		    {
+		      /* Move the current object to the back past the last
+			 object with it as the dependency.  */
+		      memmove (&maps[i], &maps[i + 1],
+			       (k - i) * sizeof (maps[0]));
+		      maps[k] = thisp;
+
+		      if (seen[i + 1] > 1)
+			{
+			  ++i;
+			  goto next_clear;
+			}
+
+		      char this_seen = seen[i];
+		      memmove (&seen[i], &seen[i + 1],
+			       (k - i) * sizeof (seen[0]));
+		      seen[k] = this_seen;
+
+		      goto next;
+		    }
+
+	      --k;
+	    }
+
+	  if (++i == nmaps)
+	    break;
+	next_clear:
+	  memset (&seen[i], 0, (nmaps - i) * sizeof (seen[0]));
+	next:;
+	}
+    }
+
+  for (size_t i = nmaps; i-- > 0; )
+    {
+      l = maps[i];
+
 #ifdef SHARED
-	  if (__builtin_expect (GLRO(dl_profile) != NULL, 0))
+      if (__builtin_expect (GLRO(dl_profile) != NULL, 0))
+	{
+	  /* If this here is the shared object which we want to profile
+	     make sure the profile is started.  We can find out whether
+	     this is necessary or not by observing the `_dl_profile_map'
+	     variable.  If it was NULL but is not NULL afterwars we must
+	     start the profiling.  */
+	  struct link_map *old_profile_map = GL(dl_profile_map);
+
+	  _dl_relocate_object (l, l->l_scope, reloc_mode | RTLD_LAZY, 1);
+
+	  if (old_profile_map == NULL && GL(dl_profile_map) != NULL)
 	    {
-	      /* If this here is the shared object which we want to profile
-		 make sure the profile is started.  We can find out whether
-		 this is necessary or not by observing the `_dl_profile_map'
-		 variable.  If was NULL but is not NULL afterwars we must
-		 start the profiling.  */
-	      struct link_map *old_profile_map = GL(dl_profile_map);
-
-	      _dl_relocate_object (l, l->l_scope, reloc_mode | RTLD_LAZY, 1);
-
-	      if (old_profile_map == NULL && GL(dl_profile_map) != NULL)
-		{
-		  /* We must prepare the profiling.  */
-		  _dl_start_profile ();
-
-		  /* Prevent unloading the object.  */
-		  GL(dl_profile_map)->l_flags_1 |= DF_1_NODELETE;
-		}
+	      /* We must prepare the profiling.  */
+	      _dl_start_profile ();
+
+	      /* Prevent unloading the object.  */
+	      GL(dl_profile_map)->l_flags_1 |= DF_1_NODELETE;
 	    }
-	  else
-#endif
-	    _dl_relocate_object (l, l->l_scope, reloc_mode, 0);
-	}
-
-      if (l == new)
-	break;
-      l = l->l_prev;
+	}
+      else
+#endif
+	_dl_relocate_object (l, l->l_scope, reloc_mode, 0);
     }
 
   /* If the file is not loaded now as a dependency, add the search

Added: fsf/trunk/libc/elf/tst-relsort1.c
==============================================================================
--- fsf/trunk/libc/elf/tst-relsort1.c (added)
+++ fsf/trunk/libc/elf/tst-relsort1.c Sat Jan 28 00:03:18 2012
@@ -1,0 +1,19 @@
+#include <dlfcn.h>
+#include <stdio.h>
+
+
+static int
+do_test ()
+{
+  const char lib[] = "$ORIGIN/tst-relsort1mod1.so";
+  void *h = dlopen (lib, RTLD_NOW);
+  if (h == NULL)
+    {
+      puts (dlerror ());
+      return 1;
+    }
+  return 0;
+}
+
+#define TEST_FUNCTION do_test ()
+#include "../test-skeleton.c"

Added: fsf/trunk/libc/elf/tst-relsort1mod1.c
==============================================================================
--- fsf/trunk/libc/elf/tst-relsort1mod1.c (added)
+++ fsf/trunk/libc/elf/tst-relsort1mod1.c Sat Jan 28 00:03:18 2012
@@ -1,0 +1,7 @@
+extern int foo (double);
+
+int
+bar (void)
+{
+  return foo (1.2);
+}

Added: fsf/trunk/libc/elf/tst-relsort1mod2.c
==============================================================================
--- fsf/trunk/libc/elf/tst-relsort1mod2.c (added)
+++ fsf/trunk/libc/elf/tst-relsort1mod2.c Sat Jan 28 00:03:18 2012
@@ -1,0 +1,7 @@
+#include <math.h>
+
+int
+foo (double d)
+{
+  return floor (d) != 0.0;
+}

Modified: fsf/trunk/libc/math/s_ldexp.c
==============================================================================
--- fsf/trunk/libc/math/s_ldexp.c (original)
+++ fsf/trunk/libc/math/s_ldexp.c Sat Jan 28 00:03:18 2012
@@ -18,12 +18,7 @@
 #include <math_private.h>
 #include <errno.h>
 
-#ifdef __STDC__
-	double __ldexp(double value, int exp)
-#else
-	double __ldexp(value, exp)
-	double value; int exp;
-#endif
+double __ldexp(double value, int exp)
 {
 	if(!__finite(value)||value==0.0) return value;
 	value = __scalbn(value,exp);

Modified: fsf/trunk/libc/math/s_ldexpf.c
==============================================================================
--- fsf/trunk/libc/math/s_ldexpf.c (original)
+++ fsf/trunk/libc/math/s_ldexpf.c Sat Jan 28 00:03:18 2012
@@ -21,12 +21,7 @@
 #include <math_private.h>
 #include <errno.h>
 
-#ifdef __STDC__
-	float __ldexpf(float value, int exp)
-#else
-	float __ldexpf(value, exp)
-	float value; int exp;
-#endif
+float __ldexpf(float value, int exp)
 {
 	if(!__finitef(value)||value==(float)0.0) return value;
 	value = __scalbnf(value,exp);

Modified: fsf/trunk/libc/math/s_ldexpl.c
==============================================================================
--- fsf/trunk/libc/math/s_ldexpl.c (original)
+++ fsf/trunk/libc/math/s_ldexpl.c Sat Jan 28 00:03:18 2012
@@ -22,12 +22,7 @@
 #include <math_private.h>
 #include <errno.h>
 
-#ifdef __STDC__
-	long double __ldexpl(long double value, int exp)
-#else
-	long double __ldexpl(value, exp)
-	long double value; int exp;
-#endif
+long double __ldexpl(long double value, int exp)
 {
 	if(!__finitel(value)||value==0.0) return value;
 	value = __scalbnl(value,exp);

Modified: fsf/trunk/libc/math/s_nextafter.c
==============================================================================
--- fsf/trunk/libc/math/s_nextafter.c (original)
+++ fsf/trunk/libc/math/s_nextafter.c Sat Jan 28 00:03:18 2012
@@ -29,12 +29,7 @@
 #include <math_private.h>
 #include <float.h>
 
-#ifdef __STDC__
-	double __nextafter(double x, double y)
-#else
-	double __nextafter(x,y)
-	double x,y;
-#endif
+double __nextafter(double x, double y)
 {
 	int32_t hx,hy,ix,iy;
 	u_int32_t lx,ly;

Modified: fsf/trunk/libc/math/s_nexttowardf.c
==============================================================================
--- fsf/trunk/libc/math/s_nexttowardf.c (original)
+++ fsf/trunk/libc/math/s_nexttowardf.c Sat Jan 28 00:03:18 2012
@@ -24,13 +24,7 @@
 #include <math_private.h>
 #include <float.h>
 
-#ifdef __STDC__
-	float __nexttowardf(float x, long double y)
-#else
-	float __nexttowardf(x,y)
-	float x;
-	long double y;
-#endif
+float __nexttowardf(float x, long double y)
 {
 	int32_t hx,hy,ix,iy;
 	u_int32_t ly;

Modified: fsf/trunk/libc/math/s_significand.c
==============================================================================
--- fsf/trunk/libc/math/s_significand.c (original)
+++ fsf/trunk/libc/math/s_significand.c Sat Jan 28 00:03:18 2012
@@ -23,12 +23,7 @@
 #include <math.h>
 #include <math_private.h>
 
-#ifdef __STDC__
-	double __significand(double x)
-#else
-	double __significand(x)
-	double x;
-#endif
+double __significand(double x)
 {
 	return __ieee754_scalb(x,(double) -__ilogb(x));
 }

Modified: fsf/trunk/libc/math/s_significandf.c
==============================================================================
--- fsf/trunk/libc/math/s_significandf.c (original)
+++ fsf/trunk/libc/math/s_significandf.c Sat Jan 28 00:03:18 2012
@@ -20,12 +20,7 @@
 #include <math.h>
 #include <math_private.h>
 
-#ifdef __STDC__
-	float __significandf(float x)
-#else
-	float __significandf(x)
-	float x;
-#endif
+float __significandf(float x)
 {
 	return __ieee754_scalbf(x,(float) -__ilogbf(x));
 }

Modified: fsf/trunk/libc/math/s_significandl.c
==============================================================================
--- fsf/trunk/libc/math/s_significandl.c (original)
+++ fsf/trunk/libc/math/s_significandl.c Sat Jan 28 00:03:18 2012
@@ -27,12 +27,7 @@
 #include <math.h>
 #include <math_private.h>
 
-#ifdef __STDC__
-	long double __significandl(long double x)
-#else
-	long double __significandl(x)
-	long double x;
-#endif
+long double __significandl(long double x)
 {
 	return __ieee754_scalbl(x,(long double) -__ilogbl(x));
 }

Modified: fsf/trunk/libc/math/w_jnl.c
==============================================================================
--- fsf/trunk/libc/math/w_jnl.c (original)
+++ fsf/trunk/libc/math/w_jnl.c Sat Jan 28 00:03:18 2012
@@ -47,12 +47,7 @@
 #include <math.h>
 #include <math_private.h>
 
-#ifdef __STDC__
-	long double __jnl(int n, long double x)	/* wrapper jnl */
-#else
-	long double __jnl(n,x)			/* wrapper jnl */
-	long double x; int n;
-#endif
+long double __jnl(int n, long double x)	/* wrapper jnl */
 {
 #ifdef _IEEE_LIBM
 	return __ieee754_jnl(n,x);
@@ -68,12 +63,7 @@
 }
 weak_alias (__jnl, jnl)
 
-#ifdef __STDC__
-	long double __ynl(int n, long double x)	/* wrapper ynl */
-#else
-	long double __ynl(n,x)			/* wrapper ynl */
-	long double x; int n;
-#endif
+long double __ynl(int n, long double x)	/* wrapper ynl */
 {
 #ifdef _IEEE_LIBM
 	return __ieee754_ynl(n,x);

Modified: fsf/trunk/libc/sysdeps/i386/fpu/s_isinfl.c
==============================================================================
--- fsf/trunk/libc/sysdeps/i386/fpu/s_isinfl.c (original)
+++ fsf/trunk/libc/sysdeps/i386/fpu/s_isinfl.c Sat Jan 28 00:03:18 2012
@@ -17,12 +17,7 @@
 #include "math.h"
 #include "math_private.h"
 
-#ifdef __STDC__
-	int __isinfl(long double x)
-#else
-	int __isinfl(x)
-	long double x;
-#endif
+int __isinfl(long double x)
 {
 	int32_t se,hx,lx;
 	GET_LDOUBLE_WORDS(se,hx,lx,x);

Modified: fsf/trunk/libc/sysdeps/i386/fpu/s_isnanl.c
==============================================================================
--- fsf/trunk/libc/sysdeps/i386/fpu/s_isnanl.c (original)
+++ fsf/trunk/libc/sysdeps/i386/fpu/s_isnanl.c Sat Jan 28 00:03:18 2012
@@ -26,12 +26,7 @@
 #include "math.h"
 #include "math_private.h"
 
-#ifdef __STDC__
-	int __isnanl(long double x)
-#else
-	int __isnanl(x)
-	long double x;
-#endif
+int __isnanl(long double x)
 {
 	int32_t se,hx,lx;
 	GET_LDOUBLE_WORDS(se,hx,lx,x);

Modified: fsf/trunk/libc/sysdeps/i386/fpu/s_nextafterl.c
==============================================================================
--- fsf/trunk/libc/sysdeps/i386/fpu/s_nextafterl.c (original)
+++ fsf/trunk/libc/sysdeps/i386/fpu/s_nextafterl.c Sat Jan 28 00:03:18 2012
@@ -29,12 +29,7 @@
 #include "math.h"
 #include <math_private.h>
 
-#ifdef __STDC__
-	long double __nextafterl(long double x, long double y)
-#else
-	long double __nextafterl(x,y)
-	long double x,y;
-#endif
+long double __nextafterl(long double x, long double y)
 {
 	u_int32_t hx,hy,ix,iy;
 	u_int32_t lx,ly;

Modified: fsf/trunk/libc/sysdeps/i386/fpu/s_nexttoward.c
==============================================================================
--- fsf/trunk/libc/sysdeps/i386/fpu/s_nexttoward.c (original)
+++ fsf/trunk/libc/sysdeps/i386/fpu/s_nexttoward.c Sat Jan 28 00:03:18 2012
@@ -30,13 +30,7 @@
 #include <math_private.h>
 #include <float.h>
 
-#ifdef __STDC__
-	double __nexttoward(double x, long double y)
-#else
-	double __nexttoward(x,y)
-	double x;
-	long double y;
-#endif
+double __nexttoward(double x, long double y)
 {
 	int32_t hx,ix,iy;
 	u_int32_t lx,hy,ly,esy;

Modified: fsf/trunk/libc/sysdeps/i386/fpu/s_nexttowardf.c
==============================================================================
--- fsf/trunk/libc/sysdeps/i386/fpu/s_nexttowardf.c (original)
+++ fsf/trunk/libc/sysdeps/i386/fpu/s_nexttowardf.c Sat Jan 28 00:03:18 2012
@@ -22,13 +22,7 @@
 #include <math_private.h>
 #include <float.h>
 
-#ifdef __STDC__
-	float __nexttowardf(float x, long double y)
-#else
-	float __nexttowardf(x,y)
-	float x;
-	long double y;
-#endif
+float __nexttowardf(float x, long double y)
 {
 	int32_t hx,ix,iy;
 	u_int32_t hy,ly,esy;

Modified: fsf/trunk/libc/sysdeps/ieee754/dbl-64/k_rem_pio2.c
==============================================================================
--- fsf/trunk/libc/sysdeps/ieee754/dbl-64/k_rem_pio2.c (original)
+++ fsf/trunk/libc/sysdeps/ieee754/dbl-64/k_rem_pio2.c Sat Jan 28 00:03:18 2012
@@ -133,17 +133,9 @@
 #include "math.h"
 #include "math_private.h"
 
-#ifdef __STDC__
 static const int init_jk[] = {2,3,4,6}; /* initial value for jk */
-#else
-static int init_jk[] = {2,3,4,6};
-#endif
-
-#ifdef __STDC__
+
 static const double PIo2[] = {
-#else
-static double PIo2[] = {
-#endif
   1.57079625129699707031e+00, /* 0x3FF921FB, 0x40000000 */
   7.54978941586159635335e-08, /* 0x3E74442D, 0x00000000 */
   5.39030252995776476554e-15, /* 0x3CF84698, 0x80000000 */
@@ -154,22 +146,13 @@
   2.16741683877804819444e-51, /* 0x3569F31D, 0x00000000 */
 };
 
-#ifdef __STDC__
 static const double
-#else
-static double
-#endif
 zero   = 0.0,
 one    = 1.0,
 two24   =  1.67772160000000000000e+07, /* 0x41700000, 0x00000000 */
 twon24  =  5.96046447753906250000e-08; /* 0x3E700000, 0x00000000 */
 
-#ifdef __STDC__
-	int __kernel_rem_pio2(double *x, double *y, int e0, int nx, int prec, const int32_t *ipio2)
-#else
-	int __kernel_rem_pio2(x,y,e0,nx,prec,ipio2)
-	double x[], y[]; int e0,nx,prec; int32_t ipio2[];
-#endif
+int __kernel_rem_pio2(double *x, double *y, int e0, int nx, int prec, const int32_t *ipio2)
 {
 	int32_t jz,jx,jv,jp,jk,carry,n,iq[20],i,j,k,m,q0,ih;
 	double z,fw,f[20],fq[20],q[20];

Modified: fsf/trunk/libc/sysdeps/ieee754/dbl-64/k_tan.c
==============================================================================
--- fsf/trunk/libc/sysdeps/ieee754/dbl-64/k_tan.c (original)
+++ fsf/trunk/libc/sysdeps/ieee754/dbl-64/k_tan.c Sat Jan 28 00:03:18 2012
@@ -53,11 +53,7 @@
 
 #include "math.h"
 #include "math_private.h"
-#ifdef __STDC__
 static const double
-#else
-static double
-#endif
 one   =  1.00000000000000000000e+00, /* 0x3FF00000, 0x00000000 */
 pio4  =  7.85398163397448278999e-01, /* 0x3FE921FB, 0x54442D18 */
 pio4lo=  3.06161699786838301793e-17, /* 0x3C81A626, 0x33145C07 */
@@ -77,12 +73,7 @@
   2.59073051863633712884e-05, /* 0x3EFB2A70, 0x74BF7AD4 */
 };
 
-#ifdef __STDC__
-	double __kernel_tan(double x, double y, int iy)
-#else
-	double __kernel_tan(x, y, iy)
-	double x,y; int iy;
-#endif
+double __kernel_tan(double x, double y, int iy)
 {
 	double z,r,v,w,s,r1,r2,r3,v1,v2,v3,w2,w4;
 	int32_t ix,hx;

Modified: fsf/trunk/libc/sysdeps/ieee754/dbl-64/s_copysign.c
==============================================================================
--- fsf/trunk/libc/sysdeps/ieee754/dbl-64/s_copysign.c (original)
+++ fsf/trunk/libc/sysdeps/ieee754/dbl-64/s_copysign.c Sat Jan 28 00:03:18 2012
@@ -23,12 +23,7 @@
 #include "math.h"
 #include "math_private.h"
 
-#ifdef __STDC__
-	double __copysign(double x, double y)
-#else
-	double __copysign(x,y)
-	double x,y;
-#endif
+double __copysign(double x, double y)
 {
 	u_int32_t hx,hy;
 	GET_HIGH_WORD(hx,x);

Modified: fsf/trunk/libc/sysdeps/ieee754/dbl-64/s_erf.c
==============================================================================
--- fsf/trunk/libc/sysdeps/ieee754/dbl-64/s_erf.c (original)
+++ fsf/trunk/libc/sysdeps/ieee754/dbl-64/s_erf.c Sat Jan 28 00:03:18 2012
@@ -115,11 +115,7 @@
 #include "math.h"
 #include "math_private.h"
 
-#ifdef __STDC__
 static const double
-#else
-static double
-#endif
 tiny	    = 1e-300,
 half=  5.00000000000000000000e-01, /* 0x3FE00000, 0x00000000 */
 one =  1.00000000000000000000e+00, /* 0x3FF00000, 0x00000000 */
@@ -194,12 +190,7 @@
   4.74528541206955367215e+02, /* 0x407DA874, 0xE79FE763 */
  -2.24409524465858183362e+01}; /* 0xC03670E2, 0x42712D62 */
 
-#ifdef __STDC__
-	double __erf(double x)
-#else
-	double __erf(x)
-	double x;
-#endif
+double __erf(double x)
 {
 	int32_t hx,ix,i;
 	double R,S,P,Q,s,y,z,r;
@@ -307,12 +298,7 @@
 weak_alias (__erf, erfl)
 #endif
 
-#ifdef __STDC__
-	double __erfc(double x)
-#else
-	double __erfc(x)
-	double x;
-#endif
+double __erfc(double x)
 {
 	int32_t hx,ix;
 	double R,S,P,Q,s,y,z,r;

Modified: fsf/trunk/libc/sysdeps/ieee754/dbl-64/s_fabs.c
==============================================================================
--- fsf/trunk/libc/sysdeps/ieee754/dbl-64/s_fabs.c (original)
+++ fsf/trunk/libc/sysdeps/ieee754/dbl-64/s_fabs.c Sat Jan 28 00:03:18 2012
@@ -21,12 +21,7 @@
 #include "math.h"
 #include "math_private.h"
 
-#ifdef __STDC__
-	double __fabs(double x)
-#else
-	double __fabs(x)
-	double x;
-#endif
+double __fabs(double x)
 {
 	u_int32_t high;
 	GET_HIGH_WORD(high,x);

Modified: fsf/trunk/libc/sysdeps/ieee754/dbl-64/s_finite.c
==============================================================================
--- fsf/trunk/libc/sysdeps/ieee754/dbl-64/s_finite.c (original)
+++ fsf/trunk/libc/sysdeps/ieee754/dbl-64/s_finite.c Sat Jan 28 00:03:18 2012
@@ -23,12 +23,7 @@
 #include "math_private.h"
 
 #undef __finite
-#ifdef __STDC__
-	int __finite(double x)
-#else
-	int __finite(x)
-	double x;
-#endif
+int __finite(double x)
 {
 	int32_t hx;
 	GET_HIGH_WORD(hx,x);

Modified: fsf/trunk/libc/sysdeps/ieee754/dbl-64/s_floor.c
==============================================================================
--- fsf/trunk/libc/sysdeps/ieee754/dbl-64/s_floor.c (original)
+++ fsf/trunk/libc/sysdeps/ieee754/dbl-64/s_floor.c Sat Jan 28 00:03:18 2012
@@ -22,18 +22,9 @@
 #include "math.h"
 #include "math_private.h"
 
-#ifdef __STDC__
 static const double huge = 1.0e300;
-#else
-static double huge = 1.0e300;
-#endif
 
-#ifdef __STDC__
-	double __floor(double x)
-#else
-	double __floor(x)
-	double x;
-#endif
+double __floor(double x)
 {
 	int32_t i0,i1,j0;
 	u_int32_t i,j;

Modified: fsf/trunk/libc/sysdeps/ieee754/dbl-64/s_frexp.c
==============================================================================
--- fsf/trunk/libc/sysdeps/ieee754/dbl-64/s_frexp.c (original)
+++ fsf/trunk/libc/sysdeps/ieee754/dbl-64/s_frexp.c Sat Jan 28 00:03:18 2012
@@ -27,19 +27,10 @@
 #include "math.h"
 #include "math_private.h"
 
-#ifdef __STDC__
 static const double
-#else
-static double
-#endif
 two54 =  1.80143985094819840000e+16; /* 0x43500000, 0x00000000 */
 
-#ifdef __STDC__
-	double __frexp(double x, int *eptr)
-#else
-	double __frexp(x, eptr)
-	double x; int *eptr;
-#endif
+double __frexp(double x, int *eptr)
 {
 	int32_t hx, ix, lx;
 	EXTRACT_WORDS(hx,lx,x);

Modified: fsf/trunk/libc/sysdeps/ieee754/dbl-64/s_ilogb.c
==============================================================================
--- fsf/trunk/libc/sysdeps/ieee754/dbl-64/s_ilogb.c (original)
+++ fsf/trunk/libc/sysdeps/ieee754/dbl-64/s_ilogb.c Sat Jan 28 00:03:18 2012
@@ -25,12 +25,7 @@
 #include "math.h"
 #include "math_private.h"
 
-#ifdef __STDC__
-	int __ilogb(double x)
-#else
-	int __ilogb(x)
-	double x;
-#endif
+int __ilogb(double x)
 {
 	int32_t hx,lx,ix;
 

Modified: fsf/trunk/libc/sysdeps/ieee754/dbl-64/s_isnan.c
==============================================================================
--- fsf/trunk/libc/sysdeps/ieee754/dbl-64/s_isnan.c (original)
+++ fsf/trunk/libc/sysdeps/ieee754/dbl-64/s_isnan.c Sat Jan 28 00:03:18 2012
@@ -23,12 +23,7 @@
 #include "math_private.h"
 
 #undef __isnan
-#ifdef __STDC__
-	int __isnan(double x)
-#else
-	int __isnan(x)
-	double x;
-#endif
+int __isnan(double x)
 {
 	int32_t hx,lx;
 	EXTRACT_WORDS(hx,lx,x);

Modified: fsf/trunk/libc/sysdeps/ieee754/dbl-64/s_logb.c
==============================================================================
--- fsf/trunk/libc/sysdeps/ieee754/dbl-64/s_logb.c (original)
+++ fsf/trunk/libc/sysdeps/ieee754/dbl-64/s_logb.c Sat Jan 28 00:03:18 2012
@@ -23,12 +23,7 @@
 #include "math.h"
 #include "math_private.h"
 
-#ifdef __STDC__
-	double __logb(double x)
-#else
-	double __logb(x)
-	double x;
-#endif
+double __logb(double x)
 {
 	int32_t lx,ix;
 	EXTRACT_WORDS(ix,lx,x);

Modified: fsf/trunk/libc/sysdeps/ieee754/dbl-64/s_nearbyint.c
==============================================================================
--- fsf/trunk/libc/sysdeps/ieee754/dbl-64/s_nearbyint.c (original)
+++ fsf/trunk/libc/sysdeps/ieee754/dbl-64/s_nearbyint.c Sat Jan 28 00:03:18 2012
@@ -28,22 +28,13 @@
 #include "math.h"
 #include "math_private.h"
 
-#ifdef __STDC__
 static const double
-#else
-static double
-#endif
 TWO52[2]={
   4.50359962737049600000e+15, /* 0x43300000, 0x00000000 */
  -4.50359962737049600000e+15, /* 0xC3300000, 0x00000000 */
 };
 
-#ifdef __STDC__
-	double __nearbyint(double x)
-#else
-	double __nearbyint(x)
-	double x;
-#endif
+double __nearbyint(double x)
 {
 	fenv_t env;
 	int32_t i0,j0,sx;

Modified: fsf/trunk/libc/sysdeps/ieee754/dbl-64/s_tanh.c
==============================================================================
--- fsf/trunk/libc/sysdeps/ieee754/dbl-64/s_tanh.c (original)
+++ fsf/trunk/libc/sysdeps/ieee754/dbl-64/s_tanh.c Sat Jan 28 00:03:18 2012
@@ -41,18 +41,9 @@
 #include "math.h"
 #include "math_private.h"
 
-#ifdef __STDC__
 static const double one=1.0, two=2.0, tiny = 1.0e-300;
-#else
-static double one=1.0, two=2.0, tiny = 1.0e-300;
-#endif
 
-#ifdef __STDC__
-	double __tanh(double x)
-#else
-	double __tanh(x)
-	double x;
-#endif
+double __tanh(double x)
 {
 	double t,z;
 	int32_t jx,ix,lx;

Modified: fsf/trunk/libc/sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c
==============================================================================
--- fsf/trunk/libc/sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c (original)
+++ fsf/trunk/libc/sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c Sat Jan 28 00:03:18 2012
@@ -19,12 +19,7 @@
 #include "math_private.h"
 
 #undef __isnan
-#ifdef __STDC__
-	int __isnan(double x)
-#else
-	int __isnan(x)
-	double x;
-#endif
+int __isnan(double x)
 {
 	int64_t hx;
 	EXTRACT_WORDS64(hx,x);

Modified: fsf/trunk/libc/sysdeps/ieee754/flt-32/e_acoshf.c
==============================================================================
--- fsf/trunk/libc/sysdeps/ieee754/flt-32/e_acoshf.c (original)
+++ fsf/trunk/libc/sysdeps/ieee754/flt-32/e_acoshf.c Sat Jan 28 00:03:18 2012
@@ -20,20 +20,11 @@
 #include "math.h"
 #include "math_private.h"
 
-#ifdef __STDC__
 static const float
-#else
-static float
-#endif
 one	= 1.0,
 ln2	= 6.9314718246e-01;  /* 0x3f317218 */
 
-#ifdef __STDC__
-	float __ieee754_acoshf(float x)
-#else
-	float __ieee754_acoshf(x)
-	float x;
-#endif
+float __ieee754_acoshf(float x)
 {
 	float t;
 	int32_t hx;

Modified: fsf/trunk/libc/sysdeps/ieee754/flt-32/e_asinf.c
==============================================================================
--- fsf/trunk/libc/sysdeps/ieee754/flt-32/e_asinf.c (original)
+++ fsf/trunk/libc/sysdeps/ieee754/flt-32/e_asinf.c Sat Jan 28 00:03:18 2012
@@ -42,11 +42,7 @@
 #include "math.h"
 #include "math_private.h"
 
-#ifdef __STDC__
 static const float
-#else
-static float
-#endif
 one =  1.0000000000e+00, /* 0x3F800000 */
 huge =  1.000e+30,
 
@@ -63,12 +59,7 @@
 p3 = 2.417951451e-2f,
 p4 = 4.216630880e-2f;
 
-#ifdef __STDC__
-	float __ieee754_asinf(float x)
-#else
-	float __ieee754_asinf(x)
-	float x;
-#endif
+float __ieee754_asinf(float x)
 {
 	float t,w,p,q,c,r,s;
 	int32_t hx,ix;

Modified: fsf/trunk/libc/sysdeps/ieee754/flt-32/e_rem_pio2f.c
==============================================================================
--- fsf/trunk/libc/sysdeps/ieee754/flt-32/e_rem_pio2f.c (original)
+++ fsf/trunk/libc/sysdeps/ieee754/flt-32/e_rem_pio2f.c Sat Jan 28 00:03:18 2012
@@ -29,11 +29,7 @@
 /*
  * Table of constants for 2/pi, 396 Hex digits (476 decimal) of 2/pi
  */
-#ifdef __STDC__
 static const int32_t two_over_pi[] = {
-#else
-static int32_t two_over_pi[] = {
-#endif
 0xA2, 0xF9, 0x83, 0x6E, 0x4E, 0x44, 0x15, 0x29, 0xFC,
 0x27, 0x57, 0xD1, 0xF5, 0x34, 0xDD, 0xC0, 0xDB, 0x62,
 0x95, 0x99, 0x3C, 0x43, 0x90, 0x41, 0xFE, 0x51, 0x63,
@@ -60,11 +56,7 @@
 
 /* This array is like the one in e_rem_pio2.c, but the numbers are
    single precision and the last 8 bits are forced to 0.  */
-#ifdef __STDC__
 static const int32_t npio2_hw[] = {
-#else
-static int32_t npio2_hw[] = {
-#endif
 0x3fc90f00, 0x40490f00, 0x4096cb00, 0x40c90f00, 0x40fb5300, 0x4116cb00,
 0x412fed00, 0x41490f00, 0x41623100, 0x417b5300, 0x418a3a00, 0x4196cb00,
 0x41a35c00, 0x41afed00, 0x41bc7e00, 0x41c90f00, 0x41d5a000, 0x41e23100,
@@ -83,11 +75,7 @@
  * pio2_3t:  pi/2 - (pio2_1+pio2_2+pio2_3)
  */
 
-#ifdef __STDC__
 static const float
-#else
-static float
-#endif
 zero =  0.0000000000e+00, /* 0x00000000 */
 half =  5.0000000000e-01, /* 0x3f000000 */
 two8 =  2.5600000000e+02, /* 0x43800000 */
@@ -99,12 +87,7 @@
 pio2_3  =  6.0770943833e-11, /* 0x2e85a300 */
 pio2_3t =  6.1232342629e-17; /* 0x248d3132 */
 
-#ifdef __STDC__
-	int32_t __ieee754_rem_pio2f(float x, float *y)
-#else
-	int32_t __ieee754_rem_pio2f(x,y)
-	float x,y[];
-#endif
+int32_t __ieee754_rem_pio2f(float x, float *y)
 {
 	float z,w,t,r,fn;
 	float tx[3];

Modified: fsf/trunk/libc/sysdeps/ieee754/flt-32/k_cosf.c
==============================================================================
--- fsf/trunk/libc/sysdeps/ieee754/flt-32/k_cosf.c (original)
+++ fsf/trunk/libc/sysdeps/ieee754/flt-32/k_cosf.c Sat Jan 28 00:03:18 2012
@@ -20,11 +20,7 @@
 #include "math.h"
 #include "math_private.h"
 
-#ifdef __STDC__
 static const float 
-#else
-static float 
-#endif
 one =  1.0000000000e+00, /* 0x3f800000 */
 C1  =  4.1666667908e-02, /* 0x3d2aaaab */
 C2  = -1.3888889225e-03, /* 0xbab60b61 */
@@ -33,12 +29,7 @@
 C5  =  2.0875723372e-09, /* 0x310f74f6 */
 C6  = -1.1359647598e-11; /* 0xad47d74e */
 
-#ifdef __STDC__
-	float __kernel_cosf(float x, float y)
-#else
-	float __kernel_cosf(x, y)
-	float x,y;
-#endif
+float __kernel_cosf(float x, float y)
 {
 	float a,hz,z,r,qx;
 	int32_t ix;

Modified: fsf/trunk/libc/sysdeps/ieee754/flt-32/k_rem_pio2f.c
==============================================================================
--- fsf/trunk/libc/sysdeps/ieee754/flt-32/k_rem_pio2f.c (original)
+++ fsf/trunk/libc/sysdeps/ieee754/flt-32/k_rem_pio2f.c Sat Jan 28 00:03:18 2012
@@ -23,17 +23,9 @@
 /* In the float version, the input parameter x contains 8 bit
    integers, not 24 bit integers.  113 bit precision is not supported.  */
 
-#ifdef __STDC__
 static const int init_jk[] = {4,7,9}; /* initial value for jk */
-#else
-static int init_jk[] = {4,7,9}; 
-#endif
 
-#ifdef __STDC__
 static const float PIo2[] = {
-#else
-static float PIo2[] = {
-#endif
   1.5703125000e+00, /* 0x3fc90000 */
   4.5776367188e-04, /* 0x39f00000 */
   2.5987625122e-05, /* 0x37da0000 */
@@ -47,22 +39,13 @@
   6.3331015649e-25, /* 0x17440000 */
 };
 
-#ifdef __STDC__
 static const float			
-#else
-static float			
-#endif
 zero   = 0.0,
 one    = 1.0,
 two8   =  2.5600000000e+02, /* 0x43800000 */
 twon8  =  3.9062500000e-03; /* 0x3b800000 */
 
-#ifdef __STDC__
-	int __kernel_rem_pio2f(float *x, float *y, int e0, int nx, int prec, const int32_t *ipio2) 
-#else
-	int __kernel_rem_pio2f(x,y,e0,nx,prec,ipio2) 	
-	float x[], y[]; int e0,nx,prec; int32_t ipio2[];
-#endif
+int __kernel_rem_pio2f(float *x, float *y, int e0, int nx, int prec, const int32_t *ipio2)
 {
 	int32_t jz,jx,jv,jp,jk,carry,n,iq[20],i,j,k,m,q0,ih;
 	float z,fw,f[20],fq[20],q[20];

Modified: fsf/trunk/libc/sysdeps/ieee754/flt-32/k_sinf.c
==============================================================================
--- fsf/trunk/libc/sysdeps/ieee754/flt-32/k_sinf.c (original)
+++ fsf/trunk/libc/sysdeps/ieee754/flt-32/k_sinf.c Sat Jan 28 00:03:18 2012
@@ -20,11 +20,7 @@
 #include "math.h"
 #include "math_private.h"
 
-#ifdef __STDC__
 static const float 
-#else
-static float 
-#endif
 half =  5.0000000000e-01,/* 0x3f000000 */
 S1  = -1.6666667163e-01, /* 0xbe2aaaab */
 S2  =  8.3333337680e-03, /* 0x3c088889 */
@@ -33,12 +29,7 @@
 S5  = -2.5050759689e-08, /* 0xb2d72f34 */
 S6  =  1.5896910177e-10; /* 0x2f2ec9d3 */
 
-#ifdef __STDC__
-	float __kernel_sinf(float x, float y, int iy)
-#else
-	float __kernel_sinf(x, y, iy)
-	float x,y; int iy;		/* iy=0 if y is zero */
-#endif
+float __kernel_sinf(float x, float y, int iy)
 {
 	float z,r,v;
 	int32_t ix;

Modified: fsf/trunk/libc/sysdeps/ieee754/flt-32/k_tanf.c
==============================================================================
--- fsf/trunk/libc/sysdeps/ieee754/flt-32/k_tanf.c (original)
+++ fsf/trunk/libc/sysdeps/ieee754/flt-32/k_tanf.c Sat Jan 28 00:03:18 2012
@@ -19,11 +19,7 @@
 
 #include "math.h"
 #include "math_private.h"
-#ifdef __STDC__
 static const float 
-#else
-static float 
-#endif
 one   =  1.0000000000e+00, /* 0x3f800000 */
 pio4  =  7.8539812565e-01, /* 0x3f490fda */
 pio4lo=  3.7748947079e-08, /* 0x33222168 */
@@ -43,12 +39,7 @@
   2.5907305826e-05, /* 0x37d95384 */
 };
 
-#ifdef __STDC__
-	float __kernel_tanf(float x, float y, int iy)
-#else
-	float __kernel_tanf(x, y, iy)
-	float x,y; int iy;
-#endif
+float __kernel_tanf(float x, float y, int iy)
 {
 	float z,r,v,w,s;
 	int32_t ix,hx;

Modified: fsf/trunk/libc/sysdeps/ieee754/flt-32/s_atanf.c
==============================================================================
--- fsf/trunk/libc/sysdeps/ieee754/flt-32/s_atanf.c (original)
+++ fsf/trunk/libc/sysdeps/ieee754/flt-32/s_atanf.c Sat Jan 28 00:03:18 2012
@@ -20,33 +20,21 @@
 #include "math.h"
 #include "math_private.h"
 
-#ifdef __STDC__
 static const float atanhi[] = {
-#else
-static float atanhi[] = {
-#endif
   4.6364760399e-01, /* atan(0.5)hi 0x3eed6338 */
   7.8539812565e-01, /* atan(1.0)hi 0x3f490fda */
   9.8279368877e-01, /* atan(1.5)hi 0x3f7b985e */
   1.5707962513e+00, /* atan(inf)hi 0x3fc90fda */
 };
 
-#ifdef __STDC__
 static const float atanlo[] = {
-#else
-static float atanlo[] = {
-#endif
   5.0121582440e-09, /* atan(0.5)lo 0x31ac3769 */
   3.7748947079e-08, /* atan(1.0)lo 0x33222168 */
   3.4473217170e-08, /* atan(1.5)lo 0x33140fb4 */
   7.5497894159e-08, /* atan(inf)lo 0x33a22168 */
 };
 
-#ifdef __STDC__
 static const float aT[] = {
-#else
-static float aT[] = {
-#endif
   3.3333334327e-01, /* 0x3eaaaaaa */
  -2.0000000298e-01, /* 0xbe4ccccd */
   1.4285714924e-01, /* 0x3e124925 */
@@ -60,20 +48,11 @@
   1.6285819933e-02, /* 0x3c8569d7 */
 };
 
-#ifdef __STDC__
-	static const float 
-#else
-	static float 
-#endif
+static const float
 one   = 1.0,
 huge   = 1.0e30;
 
-#ifdef __STDC__
-	float __atanf(float x)
-#else
-	float __atanf(x)
-	float x;
-#endif
+float __atanf(float x)
 {
 	float w,s1,s2,z;
 	int32_t ix,hx,id;

Modified: fsf/trunk/libc/sysdeps/ieee754/flt-32/s_copysignf.c
==============================================================================
--- fsf/trunk/libc/sysdeps/ieee754/flt-32/s_copysignf.c (original)
+++ fsf/trunk/libc/sysdeps/ieee754/flt-32/s_copysignf.c Sat Jan 28 00:03:18 2012
@@ -26,12 +26,7 @@
 #include "math.h"
 #include "math_private.h"
 
-#ifdef __STDC__
-	float __copysignf(float x, float y)
-#else
-	float __copysignf(x,y)
-	float x,y;
-#endif
+float __copysignf(float x, float y)
 {
 	u_int32_t ix,iy;
 	GET_FLOAT_WORD(ix,x);

Modified: fsf/trunk/libc/sysdeps/ieee754/flt-32/s_cosf.c
==============================================================================
--- fsf/trunk/libc/sysdeps/ieee754/flt-32/s_cosf.c (original)
+++ fsf/trunk/libc/sysdeps/ieee754/flt-32/s_cosf.c Sat Jan 28 00:03:18 2012
@@ -21,18 +21,9 @@
 #include "math.h"
 #include "math_private.h"
 
-#ifdef __STDC__
 static const float one=1.0;
-#else
-static float one=1.0;
-#endif
 
-#ifdef __STDC__
-	float __cosf(float x)
-#else
-	float __cosf(x)
-	float x;
-#endif
+float __cosf(float x)
 {
 	float y[2],z=0.0;
 	int32_t n,ix;

Modified: fsf/trunk/libc/sysdeps/ieee754/flt-32/s_erff.c
==============================================================================
--- fsf/trunk/libc/sysdeps/ieee754/flt-32/s_erff.c (original)
+++ fsf/trunk/libc/sysdeps/ieee754/flt-32/s_erff.c Sat Jan 28 00:03:18 2012
@@ -20,11 +20,7 @@
 #include "math.h"
 #include "math_private.h"
 
-#ifdef __STDC__
 static const float
-#else
-static float
-#endif
 tiny	    = 1e-30,
 half=  5.0000000000e-01, /* 0x3F000000 */
 one =  1.0000000000e+00, /* 0x3F800000 */
@@ -99,12 +95,7 @@
 sb6  =  4.7452853394e+02, /* 0x43ed43a7 */
 sb7  = -2.2440952301e+01; /* 0xc1b38712 */
 
-#ifdef __STDC__
-	float __erff(float x)
-#else
-	float __erff(x)
-	float x;
-#endif
+float __erff(float x)
 {
 	int32_t hx,ix,i;
 	float R,S,P,Q,s,y,z,r;
@@ -157,12 +148,7 @@
 }
 weak_alias (__erff, erff)
 
-#ifdef __STDC__
-	float __erfcf(float x)
-#else
-	float __erfcf(x)
-	float x;
-#endif
+float __erfcf(float x)
 {
 	int32_t hx,ix;
 	float R,S,P,Q,s,y,z,r;

Modified: fsf/trunk/libc/sysdeps/ieee754/flt-32/s_fabsf.c
==============================================================================
--- fsf/trunk/libc/sysdeps/ieee754/flt-32/s_fabsf.c (original)
+++ fsf/trunk/libc/sysdeps/ieee754/flt-32/s_fabsf.c Sat Jan 28 00:03:18 2012
@@ -24,12 +24,7 @@
 #include "math.h"
 #include "math_private.h"
 
-#ifdef __STDC__
-	float __fabsf(float x)
-#else
-	float __fabsf(x)
-	float x;
-#endif
+float __fabsf(float x)
 {
 	u_int32_t ix;
 	GET_FLOAT_WORD(ix,x);

Modified: fsf/trunk/libc/sysdeps/ieee754/flt-32/s_finitef.c
==============================================================================
--- fsf/trunk/libc/sysdeps/ieee754/flt-32/s_finitef.c (original)
+++ fsf/trunk/libc/sysdeps/ieee754/flt-32/s_finitef.c Sat Jan 28 00:03:18 2012
@@ -26,12 +26,7 @@
 #include "math_private.h"
 
 #undef __finitef
-#ifdef __STDC__
-	int __finitef(float x)
-#else
-	int __finitef(x)
-	float x;
-#endif
+int __finitef(float x)
 {
 	int32_t ix;
 	GET_FLOAT_WORD(ix,x);

Modified: fsf/trunk/libc/sysdeps/ieee754/flt-32/s_frexpf.c
==============================================================================
--- fsf/trunk/libc/sysdeps/ieee754/flt-32/s_frexpf.c (original)
+++ fsf/trunk/libc/sysdeps/ieee754/flt-32/s_frexpf.c Sat Jan 28 00:03:18 2012
@@ -20,19 +20,10 @@
 #include "math.h"
 #include "math_private.h"
 
-#ifdef __STDC__
 static const float
-#else
-static float
-#endif
 two25 =  3.3554432000e+07; /* 0x4c000000 */
 
-#ifdef __STDC__
-	float __frexpf(float x, int *eptr)
-#else
-	float __frexpf(x, eptr)
-	float x; int *eptr;
-#endif
+float __frexpf(float x, int *eptr)
 {
 	int32_t hx,ix;
 	GET_FLOAT_WORD(hx,x);

Modified: fsf/trunk/libc/sysdeps/ieee754/flt-32/s_ilogbf.c
==============================================================================
--- fsf/trunk/libc/sysdeps/ieee754/flt-32/s_ilogbf.c (original)
+++ fsf/trunk/libc/sysdeps/ieee754/flt-32/s_ilogbf.c Sat Jan 28 00:03:18 2012
@@ -21,12 +21,7 @@
 #include "math.h"
 #include "math_private.h"
 
-#ifdef __STDC__
-	int __ilogbf(float x)
-#else
-	int __ilogbf(x)
-	float x;
-#endif
+int __ilogbf(float x)
 {
 	int32_t hx,ix;
 

Modified: fsf/trunk/libc/sysdeps/ieee754/flt-32/s_isnanf.c
==============================================================================
--- fsf/trunk/libc/sysdeps/ieee754/flt-32/s_isnanf.c (original)
+++ fsf/trunk/libc/sysdeps/ieee754/flt-32/s_isnanf.c Sat Jan 28 00:03:18 2012
@@ -26,12 +26,7 @@
 #include "math_private.h"
 
 #undef __isnanf
-#ifdef __STDC__
-	int __isnanf(float x)
-#else
-	int __isnanf(x)
-	float x;
-#endif
+int __isnanf(float x)
 {
 	int32_t ix;
 	GET_FLOAT_WORD(ix,x);

Modified: fsf/trunk/libc/sysdeps/ieee754/flt-32/s_logbf.c
==============================================================================
--- fsf/trunk/libc/sysdeps/ieee754/flt-32/s_logbf.c (original)
+++ fsf/trunk/libc/sysdeps/ieee754/flt-32/s_logbf.c Sat Jan 28 00:03:18 2012
@@ -20,12 +20,7 @@
 #include "math.h"
 #include "math_private.h"
 
-#ifdef __STDC__
-	float __logbf(float x)
-#else
-	float __logbf(x)
-	float x;
-#endif
+float __logbf(float x)
 {
 	int32_t ix;
 	GET_FLOAT_WORD(ix,x);

Modified: fsf/trunk/libc/sysdeps/ieee754/flt-32/s_nextafterf.c
==============================================================================
--- fsf/trunk/libc/sysdeps/ieee754/flt-32/s_nextafterf.c (original)
+++ fsf/trunk/libc/sysdeps/ieee754/flt-32/s_nextafterf.c Sat Jan 28 00:03:18 2012
@@ -21,12 +21,7 @@
 #include <math_private.h>
 #include <float.h>
 
-#ifdef __STDC__
-	float __nextafterf(float x, float y)
-#else
-	float __nextafterf(x,y)
-	float x,y;
-#endif
+float __nextafterf(float x, float y)
 {
 	int32_t hx,hy,ix,iy;
 

Modified: fsf/trunk/libc/sysdeps/ieee754/flt-32/s_sinf.c
==============================================================================
--- fsf/trunk/libc/sysdeps/ieee754/flt-32/s_sinf.c (original)
+++ fsf/trunk/libc/sysdeps/ieee754/flt-32/s_sinf.c Sat Jan 28 00:03:18 2012
@@ -21,12 +21,7 @@
 #include "math.h"
 #include "math_private.h"
 
-#ifdef __STDC__
-	float __sinf(float x)
-#else
-	float __sinf(x)
-	float x;
-#endif
+float __sinf(float x)
 {
 	float y[2],z=0.0;
 	int32_t n, ix;

Modified: fsf/trunk/libc/sysdeps/ieee754/flt-32/s_tanf.c
==============================================================================
--- fsf/trunk/libc/sysdeps/ieee754/flt-32/s_tanf.c (original)
+++ fsf/trunk/libc/sysdeps/ieee754/flt-32/s_tanf.c Sat Jan 28 00:03:18 2012
@@ -21,12 +21,7 @@
 #include "math.h"
 #include "math_private.h"
 
-#ifdef __STDC__
-	float __tanf(float x)
-#else
-	float __tanf(x)
-	float x;
-#endif
+float __tanf(float x)
 {
 	float y[2],z=0.0;
 	int32_t n, ix;

Modified: fsf/trunk/libc/sysdeps/ieee754/flt-32/s_tanhf.c
==============================================================================
--- fsf/trunk/libc/sysdeps/ieee754/flt-32/s_tanhf.c (original)
+++ fsf/trunk/libc/sysdeps/ieee754/flt-32/s_tanhf.c Sat Jan 28 00:03:18 2012
@@ -20,18 +20,9 @@
 #include "math.h"
 #include "math_private.h"
 
-#ifdef __STDC__
 static const float one=1.0, two=2.0, tiny = 1.0e-30;
-#else
-static float one=1.0, two=2.0, tiny = 1.0e-30;
-#endif
 
-#ifdef __STDC__
-	float __tanhf(float x)
-#else
-	float __tanhf(x)
-	float x;
-#endif
+float __tanhf(float x)
 {
 	float t,z;
 	int32_t jx,ix;

Modified: fsf/trunk/libc/sysdeps/ieee754/k_standard.c
==============================================================================
--- fsf/trunk/libc/sysdeps/ieee754/k_standard.c (original)
+++ fsf/trunk/libc/sysdeps/ieee754/k_standard.c Sat Jan 28 00:03:18 2012
@@ -32,7 +32,7 @@
 /* XXX gcc versions until now don't delay the 0.0/0.0 division until
    runtime but produce NaN at copile time.  This is wrong since the
    exceptions are not set correctly.  */
-#if 0 && defined __STDC__
+#if 0
 static const double zero = 0.0;	/* used as const */
 #else
 static double zero = 0.0;	/* used as const */

Modified: fsf/trunk/libc/sysdeps/ieee754/ldbl-128/e_asinl.c
==============================================================================
--- fsf/trunk/libc/sysdeps/ieee754/ldbl-128/e_asinl.c (original)
+++ fsf/trunk/libc/sysdeps/ieee754/ldbl-128/e_asinl.c Sat Jan 28 00:03:18 2012
@@ -63,11 +63,7 @@
 #include "math_private.h"
 long double sqrtl (long double);
 
-#ifdef __STDC__
 static const long double
-#else
-static long double
-#endif
   one = 1.0L,
   huge = 1.0e+4932L,
   pio2_hi = 1.5707963267948966192313216916397514420986L,
@@ -132,14 +128,8 @@
 
 
 
-#ifdef __STDC__
 long double
 __ieee754_asinl (long double x)
-#else
-double
-__ieee754_asinl (x)
-     long double x;
-#endif
 {
   long double t, w, p, q, c, r, s;
   int32_t ix, sign, flag;

Modified: fsf/trunk/libc/sysdeps/ieee754/ldbl-128/k_tanl.c
==============================================================================
--- fsf/trunk/libc/sysdeps/ieee754/ldbl-128/k_tanl.c (original)
+++ fsf/trunk/libc/sysdeps/ieee754/ldbl-128/k_tanl.c Sat Jan 28 00:03:18 2012
@@ -58,11 +58,7 @@
 
 #include "math.h"
 #include "math_private.h"
-#ifdef __STDC__
 static const long double
-#else
-static long double
-#endif
   one = 1.0L,
   pio4hi = 7.8539816339744830961566084581987569936977E-1L,
   pio4lo = 2.1679525325309452561992610065108379921906E-35L,
@@ -85,15 +81,8 @@
   /* 1.000000000000000000000000000000000000000E0 */
 
 
-#ifdef __STDC__
 long double
 __kernel_tanl (long double x, long double y, int iy)
-#else
-long double
-__kernel_tanl (x, y, iy)
-     long double x, y;
-     int iy;
-#endif
 {
   long double z, r, v, w, s;
   int32_t ix, sign;

Modified: fsf/trunk/libc/sysdeps/ieee754/ldbl-128/s_asinhl.c
==============================================================================
--- fsf/trunk/libc/sysdeps/ieee754/ldbl-128/s_asinhl.c (original)
+++ fsf/trunk/libc/sysdeps/ieee754/ldbl-128/s_asinhl.c Sat Jan 28 00:03:18 2012
@@ -32,23 +32,13 @@
 #include "math.h"
 #include "math_private.h"
 
-#ifdef __STDC__
 static const long double
-#else
-static long double
-#endif
   one = 1.0L,
   ln2 = 6.931471805599453094172321214581765681e-1L,
   huge = 1.0e+4900L;
 
-#ifdef __STDC__
 long double
 __asinhl (long double x)
-#else
-long double
-__asinhl (x)
-     long double x;
-#endif
 {
   long double t, w;
   int32_t ix, sign;

Modified: fsf/trunk/libc/sysdeps/ieee754/ldbl-128/s_ceill.c
==============================================================================
--- fsf/trunk/libc/sysdeps/ieee754/ldbl-128/s_ceill.c (original)
+++ fsf/trunk/libc/sysdeps/ieee754/ldbl-128/s_ceill.c Sat Jan 28 00:03:18 2012
@@ -29,18 +29,9 @@
 #include "math.h"
 #include "math_private.h"
 
-#ifdef __STDC__
 static const long double huge = 1.0e4930L;
-#else
-static long double huge = 1.0e4930L;
-#endif
 
-#ifdef __STDC__
-	long double __ceill(long double x)
-#else
-	long double __ceill(x)
-	long double x;
-#endif
+long double __ceill(long double x)
 {
 	int64_t i0,i1,j0;
 	u_int64_t i,j;

Modified: fsf/trunk/libc/sysdeps/ieee754/ldbl-128/s_copysignl.c
==============================================================================
--- fsf/trunk/libc/sysdeps/ieee754/ldbl-128/s_copysignl.c (original)
+++ fsf/trunk/libc/sysdeps/ieee754/ldbl-128/s_copysignl.c Sat Jan 28 00:03:18 2012
@@ -26,12 +26,7 @@
 #include "math.h"
 #include "math_private.h"
 
-#ifdef __STDC__
-	long double __copysignl(long double x, long double y)
-#else
-	long double __copysignl(x,y)
-	long double x,y;
-#endif
+long double __copysignl(long double x, long double y)
 {
 	u_int64_t hx,hy;
 	GET_LDOUBLE_MSW64(hx,x);

Modified: fsf/trunk/libc/sysdeps/ieee754/ldbl-128/s_cosl.c
==============================================================================
--- fsf/trunk/libc/sysdeps/ieee754/ldbl-128/s_cosl.c (original)
+++ fsf/trunk/libc/sysdeps/ieee754/ldbl-128/s_cosl.c Sat Jan 28 00:03:18 2012
@@ -48,12 +48,7 @@
 #include "math.h"
 #include "math_private.h"
 
-#ifdef __STDC__
-	long double __cosl(long double x)
-#else
-	long double __cosl(x)
-	long double x;
-#endif
+long double __cosl(long double x)
 {
 	long double y[2],z=0.0L;
 	int64_t n, ix;

Modified: fsf/trunk/libc/sysdeps/ieee754/ldbl-128/s_erfl.c
==============================================================================
--- fsf/trunk/libc/sysdeps/ieee754/ldbl-128/s_erfl.c (original)
+++ fsf/trunk/libc/sysdeps/ieee754/ldbl-128/s_erfl.c Sat Jan 28 00:03:18 2012
@@ -136,11 +136,7 @@
 
 
 
-#ifdef __STDC__
 static const long double
-#else
-static long double
-#endif
 tiny = 1e-4931L,
   half = 0.5L,
   one = 1.0L,
@@ -754,14 +750,8 @@
 };
 
 
-#ifdef __STDC__
 long double
 __erfl (long double x)
-#else
-double
-__erfl (x)
-     long double x;
-#endif
 {
   long double a, y, z;
   int32_t i, ix, sign;
@@ -808,15 +798,8 @@
 }
 
 weak_alias (__erfl, erfl)
-#ifdef __STDC__
-     long double
-     __erfcl (long double x)
-#else
-     long double
-     __erfcl (x)
-     double
-       x;
-#endif
+long double
+__erfcl (long double x)
 {
   long double y, z, p, r;
   int32_t i, ix, sign;

Modified: fsf/trunk/libc/sysdeps/ieee754/ldbl-128/s_fabsl.c
==============================================================================
--- fsf/trunk/libc/sysdeps/ieee754/ldbl-128/s_fabsl.c (original)
+++ fsf/trunk/libc/sysdeps/ieee754/ldbl-128/s_fabsl.c Sat Jan 28 00:03:18 2012
@@ -24,12 +24,7 @@
 #include "math.h"
 #include "math_private.h"
 
-#ifdef __STDC__
-	long double __fabsl(long double x)
-#else
-	long double __fabsl(x)
-	long double x;
-#endif
+long double __fabsl(long double x)
 {
 	u_int64_t hx;
 	GET_LDOUBLE_MSW64(hx,x);

Modified: fsf/trunk/libc/sysdeps/ieee754/ldbl-128/s_finitel.c
==============================================================================
--- fsf/trunk/libc/sysdeps/ieee754/ldbl-128/s_finitel.c (original)
+++ fsf/trunk/libc/sysdeps/ieee754/ldbl-128/s_finitel.c Sat Jan 28 00:03:18 2012
@@ -25,12 +25,7 @@
 #include "math.h"
 #include "math_private.h"
 
-#ifdef __STDC__
-	int __finitel(long double x)
-#else
-	int __finitel(x)
-	long double x;
-#endif
+int __finitel(long double x)
 {
 	int64_t hx;
 	GET_LDOUBLE_MSW64(hx,x);

Modified: fsf/trunk/libc/sysdeps/ieee754/ldbl-128/s_floorl.c
==============================================================================
--- fsf/trunk/libc/sysdeps/ieee754/ldbl-128/s_floorl.c (original)
+++ fsf/trunk/libc/sysdeps/ieee754/ldbl-128/s_floorl.c Sat Jan 28 00:03:18 2012
@@ -29,18 +29,9 @@
 #include "math.h"
 #include "math_private.h"
 
-#ifdef __STDC__
 static const long double huge = 1.0e4930L;
-#else
-static long double huge = 1.0e4930L;
-#endif
 
-#ifdef __STDC__
-	long double __floorl(long double x)
-#else
-	long double __floorl(x)
-	long double x;
-#endif
+long double __floorl(long double x)
 {
 	int64_t i0,i1,j0;
 	u_int64_t i,j;

Modified: fsf/trunk/libc/sysdeps/ieee754/ldbl-128/s_frexpl.c
==============================================================================
--- fsf/trunk/libc/sysdeps/ieee754/ldbl-128/s_frexpl.c (original)
+++ fsf/trunk/libc/sysdeps/ieee754/ldbl-128/s_frexpl.c Sat Jan 28 00:03:18 2012
@@ -30,19 +30,10 @@
 #include "math.h"
 #include "math_private.h"
 
-#ifdef __STDC__
 static const long double
-#else
-static long double
-#endif
 two114 = 2.0769187434139310514121985316880384E+34L; /* 0x4071000000000000, 0 */
 
-#ifdef __STDC__
-	long double __frexpl(long double x, int *eptr)
-#else
-	long double __frexpl(x, eptr)
-	long double x; int *eptr;
-#endif
+long double __frexpl(long double x, int *eptr)
 {
 	u_int64_t hx, lx, ix;
 	GET_LDOUBLE_WORDS64(hx,lx,x);

Modified: fsf/trunk/libc/sysdeps/ieee754/ldbl-128/s_ilogbl.c
==============================================================================
--- fsf/trunk/libc/sysdeps/ieee754/ldbl-128/s_ilogbl.c (original)
+++ fsf/trunk/libc/sysdeps/ieee754/ldbl-128/s_ilogbl.c Sat Jan 28 00:03:18 2012
@@ -28,12 +28,7 @@
 #include "math.h"
 #include "math_private.h"
 
-#ifdef __STDC__
-	int __ilogbl(long double x)
-#else
-	int __ilogbl(x)
-	long double x;
-#endif
+int __ilogbl(long double x)
 {
 	int64_t hx,lx;
 	int ix;

Modified: fsf/trunk/libc/sysdeps/ieee754/ldbl-128/s_isnanl.c
==============================================================================
--- fsf/trunk/libc/sysdeps/ieee754/ldbl-128/s_isnanl.c (original)
+++ fsf/trunk/libc/sysdeps/ieee754/ldbl-128/s_isnanl.c Sat Jan 28 00:03:18 2012
@@ -25,12 +25,7 @@
 #include "math.h"
 #include "math_private.h"
 
-#ifdef __STDC__
-	int __isnanl(long double x)
-#else
-	int __isnanl(x)
-	long double x;
-#endif
+int __isnanl(long double x)
 {
 	int64_t hx,lx;
 	GET_LDOUBLE_WORDS64(hx,lx,x);

Modified: fsf/trunk/libc/sysdeps/ieee754/ldbl-128/s_logbl.c
==============================================================================
--- fsf/trunk/libc/sysdeps/ieee754/ldbl-128/s_logbl.c (original)
+++ fsf/trunk/libc/sysdeps/ieee754/ldbl-128/s_logbl.c Sat Jan 28 00:03:18 2012
@@ -26,12 +26,7 @@
 #include "math.h"
 #include "math_private.h"
 
-#ifdef __STDC__
-	long double __logbl(long double x)
-#else
-	long double __logbl(x)
-	long double x;
-#endif
+long double __logbl(long double x)
 {
 	int64_t lx,hx;
 	GET_LDOUBLE_WORDS64(hx,lx,x);

Modified: fsf/trunk/libc/sysdeps/ieee754/ldbl-128/s_modfl.c
==============================================================================
--- fsf/trunk/libc/sysdeps/ieee754/ldbl-128/s_modfl.c (original)
+++ fsf/trunk/libc/sysdeps/ieee754/ldbl-128/s_modfl.c Sat Jan 28 00:03:18 2012
@@ -30,18 +30,9 @@
 #include "math.h"
 #include "math_private.h"
 
-#ifdef __STDC__
 static const long double one = 1.0;
-#else
-static long double one = 1.0;
-#endif
 
-#ifdef __STDC__
-	long double __modfl(long double x, long double *iptr)
-#else
-	long double __modfl(x, iptr)
-	long double x,*iptr;
-#endif
+long double __modfl(long double x, long double *iptr)
 {
 	int64_t i0,i1,j0;
 	u_int64_t i;

Modified: fsf/trunk/libc/sysdeps/ieee754/ldbl-128/s_nearbyintl.c
==============================================================================
--- fsf/trunk/libc/sysdeps/ieee754/ldbl-128/s_nearbyintl.c (original)
+++ fsf/trunk/libc/sysdeps/ieee754/ldbl-128/s_nearbyintl.c Sat Jan 28 00:03:18 2012
@@ -27,22 +27,13 @@
 #include "math.h"
 #include "math_private.h"
 
-#ifdef __STDC__
 static const long double
-#else
-static long double
-#endif
 TWO112[2]={
   5.19229685853482762853049632922009600E+33L, /* 0x406F000000000000, 0 */
  -5.19229685853482762853049632922009600E+33L  /* 0xC06F000000000000, 0 */
 };
 
-#ifdef __STDC__
-	long double __nearbyintl(long double x)
-#else
-	long double __nearbyintl(x)
-	long double x;
-#endif
+long double __nearbyintl(long double x)
 {
 	fenv_t env;
 	int64_t i0,j0,sx;

Modified: fsf/trunk/libc/sysdeps/ieee754/ldbl-128/s_nextafterl.c
==============================================================================
--- fsf/trunk/libc/sysdeps/ieee754/ldbl-128/s_nextafterl.c (original)
+++ fsf/trunk/libc/sysdeps/ieee754/ldbl-128/s_nextafterl.c Sat Jan 28 00:03:18 2012
@@ -27,12 +27,7 @@
 #include "math.h"
 #include <math_private.h>
 
-#ifdef __STDC__
-	long double __nextafterl(long double x, long double y)
-#else
-	long double __nextafterl(x,y)
-	long double x,y;
-#endif
+long double __nextafterl(long double x, long double y)
 {
 	int64_t hx,hy,ix,iy;
 	u_int64_t lx,ly;

Modified: fsf/trunk/libc/sysdeps/ieee754/ldbl-128/s_nexttoward.c
==============================================================================
--- fsf/trunk/libc/sysdeps/ieee754/ldbl-128/s_nexttoward.c (original)
+++ fsf/trunk/libc/sysdeps/ieee754/ldbl-128/s_nexttoward.c Sat Jan 28 00:03:18 2012
@@ -29,13 +29,7 @@
 #include <math_private.h>
 #include <float.h>
 
-#ifdef __STDC__
-	double __nexttoward(double x, long double y)
-#else
-	double __nexttoward(x,y)
-	double x;
-	long double y;
-#endif
+double __nexttoward(double x, long double y)
 {
 	int32_t hx,ix;
 	int64_t hy,iy;

Modified: fsf/trunk/libc/sysdeps/ieee754/ldbl-128/s_nexttowardf.c
==============================================================================
--- fsf/trunk/libc/sysdeps/ieee754/ldbl-128/s_nexttowardf.c (original)
+++ fsf/trunk/libc/sysdeps/ieee754/ldbl-128/s_nexttowardf.c Sat Jan 28 00:03:18 2012
@@ -21,13 +21,7 @@
 #include "math.h"
 #include "math_private.h"
 
-#ifdef __STDC__
-	float __nexttowardf(float x, long double y)
-#else
-	float __nexttowardf(x,y)
-	float x;
-	long double y;
-#endif
+float __nexttowardf(float x, long double y)
 {
 	int32_t hx,ix;
 	int64_t hy,iy;

Modified: fsf/trunk/libc/sysdeps/ieee754/ldbl-128/s_rintl.c
==============================================================================
--- fsf/trunk/libc/sysdeps/ieee754/ldbl-128/s_rintl.c (original)
+++ fsf/trunk/libc/sysdeps/ieee754/ldbl-128/s_rintl.c Sat Jan 28 00:03:18 2012
@@ -30,22 +30,13 @@
 #include "math.h"
 #include "math_private.h"
 
-#ifdef __STDC__
 static const long double
-#else
-static long double
-#endif
 TWO112[2]={
   5.19229685853482762853049632922009600E+33L, /* 0x406F000000000000, 0 */
  -5.19229685853482762853049632922009600E+33L  /* 0xC06F000000000000, 0 */
 };
 
-#ifdef __STDC__
-	long double __rintl(long double x)
-#else
-	long double __rintl(x)
-	long double x;
-#endif
+long double __rintl(long double x)
 {
 	int64_t i0,j0,sx;
 	u_int64_t i,i1;

Modified: fsf/trunk/libc/sysdeps/ieee754/ldbl-128/s_scalblnl.c
==============================================================================
--- fsf/trunk/libc/sysdeps/ieee754/ldbl-128/s_scalblnl.c (original)
+++ fsf/trunk/libc/sysdeps/ieee754/ldbl-128/s_scalblnl.c Sat Jan 28 00:03:18 2012
@@ -28,22 +28,13 @@
 #include "math.h"
 #include "math_private.h"
 
-#ifdef __STDC__
 static const long double
-#else
-static long double
-#endif
 two114 = 2.0769187434139310514121985316880384E+34L, /* 0x4071000000000000, 0 */
 twom114 = 4.8148248609680896326399448564623183E-35L, /* 0x3F8D000000000000, 0 */
 huge   = 1.0E+4900L,
 tiny   = 1.0E-4900L;
 
-#ifdef __STDC__
-	long double __scalblnl (long double x, long int n)
-#else
-	long double __scalblnl (x,n)
-	long double x; long int n;
-#endif
+long double __scalblnl (long double x, long int n)
 {
 	int64_t k,hx,lx;
 	GET_LDOUBLE_WORDS64(hx,lx,x);

Modified: fsf/trunk/libc/sysdeps/ieee754/ldbl-128/s_scalbnl.c
==============================================================================
--- fsf/trunk/libc/sysdeps/ieee754/ldbl-128/s_scalbnl.c (original)
+++ fsf/trunk/libc/sysdeps/ieee754/ldbl-128/s_scalbnl.c Sat Jan 28 00:03:18 2012
@@ -28,22 +28,13 @@
 #include "math.h"
 #include "math_private.h"
 
-#ifdef __STDC__
 static const long double
-#else
-static long double
-#endif
 two114 = 2.0769187434139310514121985316880384E+34L, /* 0x4071000000000000, 0 */
 twom114 = 4.8148248609680896326399448564623183E-35L, /* 0x3F8D000000000000, 0 */
 huge   = 1.0E+4900L,
 tiny   = 1.0E-4900L;
 
-#ifdef __STDC__
-	long double __scalbnl (long double x, int n)
-#else
-	long double __scalbnl (x,n)
-	long double x; int n;
-#endif
+long double __scalbnl (long double x, int n)
 {
 	int64_t k,hx,lx;
 	GET_LDOUBLE_WORDS64(hx,lx,x);

Modified: fsf/trunk/libc/sysdeps/ieee754/ldbl-128/s_sinl.c
==============================================================================
--- fsf/trunk/libc/sysdeps/ieee754/ldbl-128/s_sinl.c (original)
+++ fsf/trunk/libc/sysdeps/ieee754/ldbl-128/s_sinl.c Sat Jan 28 00:03:18 2012
@@ -48,12 +48,7 @@
 #include "math.h"
 #include "math_private.h"
 
-#ifdef __STDC__
-	long double __sinl(long double x)
-#else
-	long double __sinl(x)
-	long double x;
-#endif
+long double __sinl(long double x)
 {
 	long double y[2],z=0.0L;
 	int64_t n, ix;

Modified: fsf/trunk/libc/sysdeps/ieee754/ldbl-128/s_tanhl.c
==============================================================================
--- fsf/trunk/libc/sysdeps/ieee754/ldbl-128/s_tanhl.c (original)
+++ fsf/trunk/libc/sysdeps/ieee754/ldbl-128/s_tanhl.c Sat Jan 28 00:03:18 2012
@@ -44,20 +44,10 @@
 #include "math.h"
 #include "math_private.h"
 
-#ifdef __STDC__
 static const long double one = 1.0, two = 2.0, tiny = 1.0e-4900L;
-#else
-static long double one = 1.0, two = 2.0, tiny = 1.0e-4900L;
-#endif
 
-#ifdef __STDC__
 long double
 __tanhl (long double x)
-#else
-long double
-__tanhl (x)
-     long double x;
-#endif
 {
   long double t, z;
   u_int32_t jx, ix;

Modified: fsf/trunk/libc/sysdeps/ieee754/ldbl-128/s_tanl.c
==============================================================================
--- fsf/trunk/libc/sysdeps/ieee754/ldbl-128/s_tanl.c (original)
+++ fsf/trunk/libc/sysdeps/ieee754/ldbl-128/s_tanl.c Sat Jan 28 00:03:18 2012
@@ -48,12 +48,7 @@
 #include "math.h"
 #include "math_private.h"
 
-#ifdef __STDC__
-	long double __tanl(long double x)
-#else
-	long double __tanl(x)
-	long double x;
-#endif
+long double __tanl(long double x)
 {
 	long double y[2],z=0.0L;
 	int64_t n, ix;

Modified: fsf/trunk/libc/sysdeps/ieee754/ldbl-128/w_expl.c
==============================================================================
--- fsf/trunk/libc/sysdeps/ieee754/ldbl-128/w_expl.c (original)
+++ fsf/trunk/libc/sysdeps/ieee754/ldbl-128/w_expl.c Sat Jan 28 00:03:18 2012
@@ -25,20 +25,11 @@
 #include "math.h"
 #include "math_private.h"
 
-#ifdef __STDC__
 static const long double
-#else
-static long double
-#endif
 o_threshold= 1.1356523406294143949491931077970763428449E4L,
 u_threshold= -1.1433462743336297878837243843452621503410E4;
 
-#ifdef __STDC__
-	long double __expl(long double x)	/* wrapper exp */
-#else
-	long double __expl(x)			/* wrapper exp */
-	long double x;
-#endif
+long double __expl(long double x)	/* wrapper exp */
 {
 #ifdef _IEEE_LIBM
 	return __ieee754_expl(x);

Modified: fsf/trunk/libc/sysdeps/ieee754/ldbl-128ibm/e_acosl.c
==============================================================================
--- fsf/trunk/libc/sysdeps/ieee754/ldbl-128ibm/e_acosl.c (original)
+++ fsf/trunk/libc/sysdeps/ieee754/ldbl-128ibm/e_acosl.c Sat Jan 28 00:03:18 2012
@@ -57,11 +57,7 @@
 #include "math.h"
 #include "math_private.h"
 
-#ifdef __STDC__
 static const long double
-#else
-static long double
-#endif
   one = 1.0L,
   pio2_hi = 1.5707963267948966192313216916397514420986L,
   pio2_lo = 4.3359050650618905123985220130216759843812E-35L,
@@ -152,14 +148,8 @@
   qS8 = -4.175375777334867025769346564600396877176E1L;
   /* 1.000000000000000000000000000000000000000E0 */
 
-#ifdef __STDC__
 long double
 __ieee754_acosl (long double x)
-#else
-long double
-__ieee754_acosl (x)
-     long double x;
-#endif
 {
   long double z, r, w, p, q, s, t, f2;
   int32_t ix, sign;

Modified: fsf/trunk/libc/sysdeps/ieee754/ldbl-128ibm/e_asinl.c
==============================================================================
--- fsf/trunk/libc/sysdeps/ieee754/ldbl-128ibm/e_asinl.c (original)
+++ fsf/trunk/libc/sysdeps/ieee754/ldbl-128ibm/e_asinl.c Sat Jan 28 00:03:18 2012
@@ -63,11 +63,7 @@
 #include "math_private.h"
 long double sqrtl (long double);
 
-#ifdef __STDC__
 static const long double
-#else
-static long double
-#endif
   one = 1.0L,
   huge = 1.0e+300L,
   pio2_hi = 1.5707963267948966192313216916397514420986L,
@@ -132,14 +128,8 @@
 
 
 
-#ifdef __STDC__
 long double
 __ieee754_asinl (long double x)
-#else
-double
-__ieee754_asinl (x)
-     long double x;
-#endif
 {
   long double t, w, p, q, c, r, s;
   int32_t ix, sign, flag;

Modified: fsf/trunk/libc/sysdeps/ieee754/ldbl-128ibm/e_jnl.c
==============================================================================
--- fsf/trunk/libc/sysdeps/ieee754/ldbl-128ibm/e_jnl.c (original)
+++ fsf/trunk/libc/sysdeps/ieee754/ldbl-128ibm/e_jnl.c Sat Jan 28 00:03:18 2012
@@ -59,26 +59,15 @@
 #include "math.h"
 #include "math_private.h"
 
-#ifdef __STDC__
 static const long double
-#else
-static long double
-#endif
   invsqrtpi = 5.6418958354775628694807945156077258584405E-1L,
   two = 2.0e0L,
   one = 1.0e0L,
   zero = 0.0L;
 
 
-#ifdef __STDC__
 long double
 __ieee754_jnl (int n, long double x)
-#else
-long double
-__ieee754_jnl (n, x)
-     int n;
-     long double x;
-#endif
 {
   u_int32_t se;
   int32_t i, ix, sgn;
@@ -305,15 +294,8 @@
 }
 strong_alias (__ieee754_jnl, __jnl_finite)
 
-#ifdef __STDC__
 long double
 __ieee754_ynl (int n, long double x)
-#else
-long double
-__ieee754_ynl (n, x)
-     int n;
-     long double x;
-#endif
 {
   u_int32_t se;
   int32_t i, ix;

Modified: fsf/trunk/libc/sysdeps/ieee754/ldbl-128ibm/k_tanl.c
==============================================================================
--- fsf/trunk/libc/sysdeps/ieee754/ldbl-128ibm/k_tanl.c (original)
+++ fsf/trunk/libc/sysdeps/ieee754/ldbl-128ibm/k_tanl.c Sat Jan 28 00:03:18 2012
@@ -58,11 +58,7 @@
 
 #include "math.h"
 #include "math_private.h"
-#ifdef __STDC__
 static const long double
-#else
-static long double
-#endif
   one = 1.0L,
   pio4hi = 7.8539816339744830961566084581987569936977E-1L,
   pio4lo = 2.1679525325309452561992610065108379921906E-35L,
@@ -85,15 +81,8 @@
   /* 1.000000000000000000000000000000000000000E0 */
 
 
-#ifdef __STDC__
 long double
 __kernel_tanl (long double x, long double y, int iy)
-#else
-long double
-__kernel_tanl (x, y, iy)
-     long double x, y;
-     int iy;
-#endif
 {
   long double z, r, v, w, s;
   int32_t ix, sign;

Modified: fsf/trunk/libc/sysdeps/ieee754/ldbl-128ibm/s_asinhl.c
==============================================================================
--- fsf/trunk/libc/sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (original)
+++ fsf/trunk/libc/sysdeps/ieee754/ldbl-128ibm/s_asinhl.c Sat Jan 28 00:03:18 2012
@@ -29,21 +29,12 @@
 #include "math_private.h"
 #include <math_ldbl_opt.h>
 
-#ifdef __STDC__
 static const long double
-#else
-static long double
-#endif
 one =  1.00000000000000000000e+00L, /* 0x3ff0000000000000, 0 */
 ln2 =  0.6931471805599453094172321214581766L, /* 0x3fe62e42fefa39ef, 0x3c7abc9e3b398040 */
 huge=  1.00000000000000000000e+300L;
 
-#ifdef __STDC__
-	long double __asinhl(long double x)
-#else
-	long double __asinhl(x)
-	long double x;
-#endif
+long double __asinhl(long double x)
 {
 	long double t,w;
 	int64_t hx,ix;

Modified: fsf/trunk/libc/sysdeps/ieee754/ldbl-128ibm/s_ceill.c
==============================================================================
--- fsf/trunk/libc/sysdeps/ieee754/ldbl-128ibm/s_ceill.c (original)
+++ fsf/trunk/libc/sysdeps/ieee754/ldbl-128ibm/s_ceill.c Sat Jan 28 00:03:18 2012
@@ -1,6 +1,6 @@
 /* Ceil (round to +inf) long double floating-point values.
    IBM extended format long double version.
-   Copyright (C) 2006, 2007 Free Software Foundation, Inc.
+   Copyright (C) 2006, 2007, 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
@@ -24,14 +24,8 @@
 #include <ieee754.h>
 
 
-#ifdef __STDC__
 long double
 __ceill (long double x)
-#else
-long double
-__ceill (x)
-     long double x;
-#endif
 {
   double xh, xl, hi, lo;
 

Modified: fsf/trunk/libc/sysdeps/ieee754/ldbl-128ibm/s_copysignl.c
==============================================================================
--- fsf/trunk/libc/sysdeps/ieee754/ldbl-128ibm/s_copysignl.c (original)
+++ fsf/trunk/libc/sysdeps/ieee754/ldbl-128ibm/s_copysignl.c Sat Jan 28 00:03:18 2012
@@ -27,12 +27,7 @@
 #include "math_private.h"
 #include <math_ldbl_opt.h>
 
-#ifdef __STDC__
-	long double __copysignl(long double x, long double y)
-#else
-	long double __copysignl(x,y)
-	long double x,y;
-#endif
+long double __copysignl(long double x, long double y)
 {
   if (signbit (x) != signbit (y))
     x = -x;

Modified: fsf/trunk/libc/sysdeps/ieee754/ldbl-128ibm/s_cosl.c
==============================================================================
--- fsf/trunk/libc/sysdeps/ieee754/ldbl-128ibm/s_cosl.c (original)
+++ fsf/trunk/libc/sysdeps/ieee754/ldbl-128ibm/s_cosl.c Sat Jan 28 00:03:18 2012
@@ -49,12 +49,7 @@
 #include "math_private.h"
 #include <math_ldbl_opt.h>
 
-#ifdef __STDC__
-	long double __cosl(long double x)
-#else
-	long double __cosl(x)
-	long double x;
-#endif
+long double __cosl(long double x)
 {
 	long double y[2],z=0.0L;
 	int64_t n, ix;

Modified: fsf/trunk/libc/sysdeps/ieee754/ldbl-128ibm/s_erfl.c
==============================================================================
--- fsf/trunk/libc/sysdeps/ieee754/ldbl-128ibm/s_erfl.c (original)
+++ fsf/trunk/libc/sysdeps/ieee754/ldbl-128ibm/s_erfl.c Sat Jan 28 00:03:18 2012
@@ -137,11 +137,7 @@
 
 
 
-#ifdef __STDC__
 static const long double
-#else
-static long double
-#endif
 tiny = 1e-300L,
   half = 0.5L,
   one = 1.0L,
@@ -755,14 +751,8 @@
 };
 
 
-#ifdef __STDC__
 long double
 __erfl (long double x)
-#else
-double
-__erfl (x)
-     long double x;
-#endif
 {
   long double a, y, z;
   int32_t i, ix, sign;
@@ -815,15 +805,8 @@
 }
 
 long_double_symbol (libm, __erfl, erfl);
-#ifdef __STDC__
-     long double
-     __erfcl (long double x)
-#else
-     long double
-     __erfcl (x)
-     double
-       x;
-#endif
+long double
+__erfcl (long double x)
 {
   long double y, z, p, r;
   int32_t i, ix, sign;

Modified: fsf/trunk/libc/sysdeps/ieee754/ldbl-128ibm/s_fabsl.c
==============================================================================
--- fsf/trunk/libc/sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (original)
+++ fsf/trunk/libc/sysdeps/ieee754/ldbl-128ibm/s_fabsl.c Sat Jan 28 00:03:18 2012
@@ -26,12 +26,7 @@
 #include "math_private.h"
 #include <math_ldbl_opt.h>
 
-#ifdef __STDC__
-	long double __fabsl(long double x)
-#else
-	long double __fabsl(x)
-	long double x;
-#endif
+long double __fabsl(long double x)
 {
 	u_int64_t hx, lx;
 	GET_LDOUBLE_WORDS64(hx,lx,x);

Modified: fsf/trunk/libc/sysdeps/ieee754/ldbl-128ibm/s_floorl.c
==============================================================================
--- fsf/trunk/libc/sysdeps/ieee754/ldbl-128ibm/s_floorl.c (original)
+++ fsf/trunk/libc/sysdeps/ieee754/ldbl-128ibm/s_floorl.c Sat Jan 28 00:03:18 2012
@@ -1,6 +1,6 @@
 /* Round to int long double floating-point values.
    IBM extended format long double version.
-   Copyright (C) 2006, 2007 Free Software Foundation, Inc.
+   Copyright (C) 2006, 2007, 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
@@ -24,14 +24,8 @@
 #include <ieee754.h>
 
 
-#ifdef __STDC__
 long double
 __floorl (long double x)
-#else
-long double
-__floorl (x)
-     long double x;
-#endif
 {
   double xh, xl, hi, lo;
 

Modified: fsf/trunk/libc/sysdeps/ieee754/ldbl-128ibm/s_frexpl.c
==============================================================================
--- fsf/trunk/libc/sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (original)
+++ fsf/trunk/libc/sysdeps/ieee754/ldbl-128ibm/s_frexpl.c Sat Jan 28 00:03:18 2012
@@ -31,19 +31,10 @@
 #include "math_private.h"
 #include <math_ldbl_opt.h>
 
-#ifdef __STDC__
 static const long double
-#else
-static long double
-#endif
 two107 = 162259276829213363391578010288128.0; /* 0x4670000000000000, 0 */
 
-#ifdef __STDC__
-	long double __frexpl(long double x, int *eptr)
-#else
-	long double __frexpl(x, eptr)
-	long double x; int *eptr;
-#endif
+long double __frexpl(long double x, int *eptr)
 {
 	u_int64_t hx, lx, ix, ixl;
 	int64_t explo;

Modified: fsf/trunk/libc/sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c
==============================================================================
--- fsf/trunk/libc/sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c (original)
+++ fsf/trunk/libc/sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c Sat Jan 28 00:03:18 2012
@@ -29,12 +29,7 @@
 #include "math_private.h"
 #include <math_ldbl_opt.h>
 
-#ifdef __STDC__
-	int __ilogbl(long double x)
-#else
-	int __ilogbl(x)
-	long double x;
-#endif
+int __ilogbl(long double x)
 {
 	int64_t hx,lx;
 	int ix;

Modified: fsf/trunk/libc/sysdeps/ieee754/ldbl-128ibm/s_llrintl.c
==============================================================================
--- fsf/trunk/libc/sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (original)
+++ fsf/trunk/libc/sysdeps/ieee754/ldbl-128ibm/s_llrintl.c Sat Jan 28 00:03:18 2012
@@ -1,6 +1,6 @@
 /* Round to long long int long double floating-point values.
    IBM extended format long double version.
-   Copyright (C) 2006 Free Software Foundation, Inc.
+   Copyright (C) 2006, 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
@@ -25,14 +25,8 @@
 #include <ieee754.h>
 
 
-#ifdef __STDC__
 long long
 __llrintl (long double x)
-#else
-long long
-__llrintl (x)
-     long double x;
-#endif
 {
   double xh, xl;
   long long res, hi, lo;

Modified: fsf/trunk/libc/sysdeps/ieee754/ldbl-128ibm/s_llroundl.c
==============================================================================
--- fsf/trunk/libc/sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (original)
+++ fsf/trunk/libc/sysdeps/ieee754/ldbl-128ibm/s_llroundl.c Sat Jan 28 00:03:18 2012
@@ -1,6 +1,6 @@
 /* Round to long long int long double floating-point values.
    IBM extended format long double version.
-   Copyright (C) 2006 Free Software Foundation, Inc.
+   Copyright (C) 2006, 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
@@ -24,14 +24,8 @@
 #include <float.h>
 #include <ieee754.h>
 
-#ifdef __STDC__
 long long
 __llroundl (long double x)
-#else
-long long
-__llroundl (x)
-     long double x;
-#endif
 {
   double xh, xl;
   long long res, hi, lo;

Modified: fsf/trunk/libc/sysdeps/ieee754/ldbl-128ibm/s_logbl.c
==============================================================================
--- fsf/trunk/libc/sysdeps/ieee754/ldbl-128ibm/s_logbl.c (original)
+++ fsf/trunk/libc/sysdeps/ieee754/ldbl-128ibm/s_logbl.c Sat Jan 28 00:03:18 2012
@@ -27,12 +27,7 @@
 #include "math_private.h"
 #include <math_ldbl_opt.h>
 
-#ifdef __STDC__
-	long double __logbl(long double x)
-#else
-	long double __logbl(x)
-	long double x;
-#endif
+long double __logbl(long double x)
 {
 	int64_t lx,hx;
 	GET_LDOUBLE_WORDS64(hx,lx,x);

Modified: fsf/trunk/libc/sysdeps/ieee754/ldbl-128ibm/s_lrintl.c
==============================================================================
--- fsf/trunk/libc/sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (original)
+++ fsf/trunk/libc/sysdeps/ieee754/ldbl-128ibm/s_lrintl.c Sat Jan 28 00:03:18 2012
@@ -1,6 +1,6 @@
 /* Round to long int long double floating-point values.
    IBM extended format long double version.
-   Copyright (C) 2006 Free Software Foundation, Inc.
+   Copyright (C) 2006, 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
@@ -25,14 +25,8 @@
 #include <ieee754.h>
 
 
-#ifdef __STDC__
 long
 __lrintl (long double x)
-#else
-long
-__lrintl (x)
-     long double x;
-#endif
 {
   double xh, xl;
   long res, hi, lo;

Modified: fsf/trunk/libc/sysdeps/ieee754/ldbl-128ibm/s_lroundl.c
==============================================================================
--- fsf/trunk/libc/sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (original)
+++ fsf/trunk/libc/sysdeps/ieee754/ldbl-128ibm/s_lroundl.c Sat Jan 28 00:03:18 2012
@@ -1,6 +1,6 @@
 /* Round to long int long double floating-point values.
    IBM extended format long double version.
-   Copyright (C) 2006 Free Software Foundation, Inc.
+   Copyright (C) 2006, 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
@@ -24,14 +24,8 @@
 #include <float.h>
 #include <ieee754.h>
 
-#ifdef __STDC__
 long
 __lroundl (long double x)
-#else
-long
-__lroundl (x)
-     long double x;
-#endif
 {
   double xh, xl;
   long res, hi, lo;

Modified: fsf/trunk/libc/sysdeps/ieee754/ldbl-128ibm/s_modfl.c
==============================================================================
--- fsf/trunk/libc/sysdeps/ieee754/ldbl-128ibm/s_modfl.c (original)
+++ fsf/trunk/libc/sysdeps/ieee754/ldbl-128ibm/s_modfl.c Sat Jan 28 00:03:18 2012
@@ -31,18 +31,9 @@
 #include "math_private.h"
 #include <math_ldbl_opt.h>
 
-#ifdef __STDC__
 static const long double one = 1.0;
-#else
-static long double one = 1.0;
-#endif
 
-#ifdef __STDC__
-	long double __modfl(long double x, long double *iptr)
-#else
-	long double __modfl(x, iptr)
-	long double x,*iptr;
-#endif
+long double __modfl(long double x, long double *iptr)
 {
 	int64_t i0,i1,j0;
 	u_int64_t i;

Modified: fsf/trunk/libc/sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c
==============================================================================
--- fsf/trunk/libc/sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c (original)
+++ fsf/trunk/libc/sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c Sat Jan 28 00:03:18 2012
@@ -1,6 +1,6 @@
 /* Round to int long double floating-point values without raising inexact.
    IBM extended format long double version.
-   Copyright (C) 2006, 2008 Free Software Foundation, Inc.
+   Copyright (C) 2006, 2008, 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
@@ -28,14 +28,8 @@
 #include <ieee754.h>
 
 
-#ifdef __STDC__
 long double
 __nearbyintl (long double x)
-#else
-long double
-__nearbyintl (x)
-     long double x;
-#endif
 {
   fenv_t env;
   static const long double TWO52 = 4503599627370496.0L;

Modified: fsf/trunk/libc/sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c
==============================================================================
--- fsf/trunk/libc/sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (original)
+++ fsf/trunk/libc/sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c Sat Jan 28 00:03:18 2012
@@ -28,12 +28,7 @@
 #include <math_private.h>
 #include <math_ldbl_opt.h>
 
-#ifdef __STDC__
-	long double __nextafterl(long double x, long double y)
-#else
-	long double __nextafterl(x,y)
-	long double x,y;
-#endif
+long double __nextafterl(long double x, long double y)
 {
 	int64_t hx,hy,ihx,ihy,ilx;
 	u_int64_t lx,ly;

Modified: fsf/trunk/libc/sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c
==============================================================================
--- fsf/trunk/libc/sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (original)
+++ fsf/trunk/libc/sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c Sat Jan 28 00:03:18 2012
@@ -30,13 +30,7 @@
 #include <math_ldbl_opt.h>
 #include <float.h>
 
-#ifdef __STDC__
-	double __nexttoward(double x, long double y)
-#else
-	double __nexttoward(x,y)
-	double x;
-	long double y;
-#endif
+double __nexttoward(double x, long double y)
 {
 	int32_t hx,ix;
 	int64_t hy,iy;

Modified: fsf/trunk/libc/sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c
==============================================================================
--- fsf/trunk/libc/sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (original)
+++ fsf/trunk/libc/sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c Sat Jan 28 00:03:18 2012
@@ -23,13 +23,7 @@
 #include <math_ldbl_opt.h>
 #include <float.h>
 
-#ifdef __STDC__
-	float __nexttowardf(float x, long double y)
-#else
-	float __nexttowardf(x,y)
-	float x;
-	long double y;
-#endif
+float __nexttowardf(float x, long double y)
 {
 	int32_t hx,ix;
 	int64_t hy,iy;

Modified: fsf/trunk/libc/sysdeps/ieee754/ldbl-128ibm/s_rintl.c
==============================================================================
--- fsf/trunk/libc/sysdeps/ieee754/ldbl-128ibm/s_rintl.c (original)
+++ fsf/trunk/libc/sysdeps/ieee754/ldbl-128ibm/s_rintl.c Sat Jan 28 00:03:18 2012
@@ -1,6 +1,6 @@
 /* Round to int long double floating-point values.
    IBM extended format long double version.
-   Copyright (C) 2006 Free Software Foundation, Inc.
+   Copyright (C) 2006, 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
@@ -28,14 +28,8 @@
 #include <ieee754.h>
 
 
-#ifdef __STDC__
 long double
 __rintl (long double x)
-#else
-long double
-__rintl (x)
-     long double x;
-#endif
 {
   double xh, xl, hi, lo;
 

Modified: fsf/trunk/libc/sysdeps/ieee754/ldbl-128ibm/s_roundl.c
==============================================================================
--- fsf/trunk/libc/sysdeps/ieee754/ldbl-128ibm/s_roundl.c (original)
+++ fsf/trunk/libc/sysdeps/ieee754/ldbl-128ibm/s_roundl.c Sat Jan 28 00:03:18 2012
@@ -1,6 +1,6 @@
 /* Round to int long double floating-point values.
    IBM extended format long double version.
-   Copyright (C) 2006, 2007 Free Software Foundation, Inc.
+   Copyright (C) 2006, 2007, 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
@@ -27,14 +27,8 @@
 #include <ieee754.h>
 
 
-#ifdef __STDC__
 long double
 __roundl (long double x)
-#else
-long double
-__roundl (x)
-     long double x;
-#endif
 {
   double xh, xl, hi, lo;
 

Modified: fsf/trunk/libc/sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c
==============================================================================
--- fsf/trunk/libc/sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (original)
+++ fsf/trunk/libc/sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c Sat Jan 28 00:03:18 2012
@@ -29,28 +29,15 @@
 #include "math_private.h"
 #include <math_ldbl_opt.h>
 
-#ifdef __STDC__
 static const long double
-#else
-static long double
-#endif
 twolm54 = 5.55111512312578270212e-17, /* 0x3C90000000000000, 0 */
 huge   = 1.0E+300L,
 tiny   = 1.0E-300L;
-#ifdef __STDC__
 static const double
-#else
-static double
-#endif
 two54 = 1.80143985094819840000e+16, /* 0x4350000000000000 */
 twom54 = 5.55111512312578270212e-17; /* 0x3C90000000000000 */
 
-#ifdef __STDC__
-	long double __scalblnl (long double x, long int n)
-#else
-	long double __scalblnl (x,n)
-	long double x; long int n;
-#endif
+long double __scalblnl (long double x, long int n)
 {
 	int64_t k,l,hx,lx;
 	union { int64_t i; double d; } u;

Modified: fsf/trunk/libc/sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c
==============================================================================
--- fsf/trunk/libc/sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (original)
+++ fsf/trunk/libc/sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c Sat Jan 28 00:03:18 2012
@@ -29,28 +29,15 @@
 #include "math_private.h"
 #include <math_ldbl_opt.h>
 
-#ifdef __STDC__
 static const long double
-#else
-static long double
-#endif
 twolm54 = 5.55111512312578270212e-17, /* 0x3C90000000000000, 0 */
 huge   = 1.0E+300L,
 tiny   = 1.0E-300L;
-#ifdef __STDC__
 static const double
-#else
-static double
-#endif
 two54 = 1.80143985094819840000e+16, /* 0x4350000000000000 */
 twom54 = 5.55111512312578270212e-17; /* 0x3C90000000000000 */
 
-#ifdef __STDC__
-	long double __scalbnl (long double x, int n)
-#else
-	long double __scalbnl (x,n)
-	long double x; int n;
-#endif
+long double __scalbnl (long double x, int n)
 {
 	int64_t k,l,hx,lx;
 	union { int64_t i; double d; } u;

Modified: fsf/trunk/libc/sysdeps/ieee754/ldbl-128ibm/s_sinl.c
==============================================================================
--- fsf/trunk/libc/sysdeps/ieee754/ldbl-128ibm/s_sinl.c (original)
+++ fsf/trunk/libc/sysdeps/ieee754/ldbl-128ibm/s_sinl.c Sat Jan 28 00:03:18 2012
@@ -49,12 +49,7 @@
 #include "math_private.h"
 #include <math_ldbl_opt.h>
 
-#ifdef __STDC__
-	long double __sinl(long double x)
-#else
-	long double __sinl(x)
-	long double x;
-#endif
+long double __sinl(long double x)
 {
 	long double y[2],z=0.0L;
 	int64_t n, ix;

Modified: fsf/trunk/libc/sysdeps/ieee754/ldbl-128ibm/s_tanhl.c
==============================================================================
--- fsf/trunk/libc/sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (original)
+++ fsf/trunk/libc/sysdeps/ieee754/ldbl-128ibm/s_tanhl.c Sat Jan 28 00:03:18 2012
@@ -42,18 +42,9 @@
 #include "math_private.h"
 #include <math_ldbl_opt.h>
 
-#ifdef __STDC__
 static const long double one=1.0L, two=2.0L, tiny = 1.0e-300L;
-#else
-static long double one=1.0L, two=2.0L, tiny = 1.0e-300L;
-#endif
 
-#ifdef __STDC__
-	long double __tanhl(long double x)
-#else
-	long double __tanhl(x)
-	long double x;
-#endif
+long double __tanhl(long double x)
 {
 	long double t,z;
 	int64_t jx,ix,lx;

Modified: fsf/trunk/libc/sysdeps/ieee754/ldbl-128ibm/s_tanl.c
==============================================================================
--- fsf/trunk/libc/sysdeps/ieee754/ldbl-128ibm/s_tanl.c (original)
+++ fsf/trunk/libc/sysdeps/ieee754/ldbl-128ibm/s_tanl.c Sat Jan 28 00:03:18 2012
@@ -49,12 +49,7 @@
 #include "math_private.h"
 #include <math_ldbl_opt.h>
 
-#ifdef __STDC__
-	long double __tanl(long double x)
-#else
-	long double __tanl(x)
-	long double x;
-#endif
+long double __tanl(long double x)
 {
 	long double y[2],z=0.0L;
 	int64_t n, ix;

Modified: fsf/trunk/libc/sysdeps/ieee754/ldbl-128ibm/s_truncl.c
==============================================================================
--- fsf/trunk/libc/sysdeps/ieee754/ldbl-128ibm/s_truncl.c (original)
+++ fsf/trunk/libc/sysdeps/ieee754/ldbl-128ibm/s_truncl.c Sat Jan 28 00:03:18 2012
@@ -1,6 +1,6 @@
 /* Truncate (toward zero) long double floating-point values.
    IBM extended format long double version.
-   Copyright (C) 2006, 2007 Free Software Foundation, Inc.
+   Copyright (C) 2006, 2007, 2012 Free Software Foundation, Inc.

[... 769 lines stripped ...]
_______________________________________________
Commits mailing list
Commits@xxxxxxxxxx
http://eglibc.org/cgi-bin/mailman/listinfo/commits