Fix last change

This commit is contained in:
Andreas Schwab 2011-10-18 14:11:02 +02:00
parent caa6c9d845
commit 83c7615c2d
2 changed files with 5 additions and 4 deletions

View File

@ -1,8 +1,8 @@
2011-10-18 Andreas Schwab <schwab@redhat.com>
* sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
(__feraiseexcept_renamed): Add __THROW.
(feraiseexcept): Add __THROW. Rename local variables to fix
(__feraiseexcept_renamed): Add __NTH.
(feraiseexcept): Add __NTH. Rename local variables to fix
namespace violations.
2011-10-17 Ulrich Drepper <drepper@gmail.com>

View File

@ -101,8 +101,9 @@ fenv_t;
__BEGIN_DECLS
/* Optimized versions. */
extern int __feraiseexcept_renamed (int) __THROW __asm__ ("feraiseexcept");
__extern_inline int feraiseexcept (int __excepts) __THROW
extern int __NTH (__feraiseexcept_renamed (int)) __asm__ ("feraiseexcept");
__extern_inline int
__NTH (feraiseexcept (int __excepts))
{
if (__builtin_constant_p (__excepts)
&& (__excepts & ~(FE_INVALID | FE_DIVBYZERO)) == 0)