about summary refs log tree commit diff
path: root/sysdeps/sparc/fpu/fesetenv.c
diff options
context:
space:
mode:
Diffstat (limited to 'sysdeps/sparc/fpu/fesetenv.c')
-rw-r--r--sysdeps/sparc/fpu/fesetenv.c12
1 files changed, 9 insertions, 3 deletions
diff --git a/sysdeps/sparc/fpu/fesetenv.c b/sysdeps/sparc/fpu/fesetenv.c
index 44c5b2629c..85c695a505 100644
--- a/sysdeps/sparc/fpu/fesetenv.c
+++ b/sysdeps/sparc/fpu/fesetenv.c
@@ -1,5 +1,5 @@
 /* Install given 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
-fesetenv (const fenv_t *envp)
+int
+__fesetenv (const fenv_t *envp)
 {
   fenv_t dummy;
 
@@ -40,4 +40,10 @@ fesetenv (const fenv_t *envp)
     }
 
   __fenv_ldfsr (*envp);
+
+  /* Success.  */
+  return 0;
 }
+strong_alias (__fesetenv, __old_fesetenv)
+symbol_version (__old_fesetenv, fesetenv, GLIBC_2.1);
+default_symbol_version (__fesetenv, fesetenv, GLIBC_2.1.3);