summaryrefslogtreecommitdiff
path: root/sysdeps/sparc/fpu/feupdateenv.c
diff options
context:
space:
mode:
Diffstat (limited to 'sysdeps/sparc/fpu/feupdateenv.c')
-rw-r--r--sysdeps/sparc/fpu/feupdateenv.c12
1 files changed, 9 insertions, 3 deletions
diff --git a/sysdeps/sparc/fpu/feupdateenv.c b/sysdeps/sparc/fpu/feupdateenv.c
index 0fba9975f8..6fce23e0eb 100644
--- a/sysdeps/sparc/fpu/feupdateenv.c
+++ b/sysdeps/sparc/fpu/feupdateenv.c
@@ -1,5 +1,5 @@
/* Install given floating-point environment and raise exceptions.
- 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
-feupdateenv (const fenv_t *envp)
+int
+__feupdateenv (const fenv_t *envp)
{
fexcept_t tmp;
@@ -35,4 +35,10 @@ feupdateenv (const fenv_t *envp)
defined format of the values in objects of type fexcept_t is the
same as the ones specified using the FE_* constants. */
feraiseexcept ((int) tmp);
+
+ /* Success. */
+ return 0;
}
+strong_alias (__feupdateenv, __old_feupdateenv)
+symbol_version (__old_feupdateenv, feupdateenv, GLIBC_2.1);
+default_symbol_version (__feupdateenv, feupdateenv, GLIBC_2.1.3);