aboutsummaryrefslogtreecommitdiff
path: root/sysdeps/sparc/fpu/fclrexcpt.c
diff options
context:
space:
mode:
Diffstat (limited to 'sysdeps/sparc/fpu/fclrexcpt.c')
-rw-r--r--sysdeps/sparc/fpu/fclrexcpt.c12
1 files changed, 9 insertions, 3 deletions
diff --git a/sysdeps/sparc/fpu/fclrexcpt.c b/sysdeps/sparc/fpu/fclrexcpt.c
index 8dc68e84e9..89673962e2 100644
--- a/sysdeps/sparc/fpu/fclrexcpt.c
+++ b/sysdeps/sparc/fpu/fclrexcpt.c
@@ -1,5 +1,5 @@
/* Clear given exceptions in current floating-point environment.
- Copyright (C) 1997 Free Software Foundation, Inc.
+ Copyright (C) 1997, 1999 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
@@ -19,8 +19,8 @@
#include <fenv.h>
-void
-feclearexcept (int excepts)
+int
+__feclearexcept (int excepts)
{
fenv_t tmp;
@@ -29,4 +29,10 @@ feclearexcept (int excepts)
tmp &= ~(excepts & FE_ALL_EXCEPT);
__fenv_ldfsr (tmp);
+
+ /* Success. */
+ return 0;
}
+strong_alias (__feclearexcept, __old_feclearexcept)
+symbol_version (__old_feclearexcept, feclearexcept, GLIBC_2.1);
+default_symbol_version (__feclearexcept, feclearexcept, GLIBC_2.1.3);