about summary refs log tree commit diff
path: root/sysdeps/sparc/fpu/fegetenv.c
diff options
context:
space:
mode:
Diffstat (limited to 'sysdeps/sparc/fpu/fegetenv.c')
-rw-r--r--sysdeps/sparc/fpu/fegetenv.c12
1 files changed, 9 insertions, 3 deletions
diff --git a/sysdeps/sparc/fpu/fegetenv.c b/sysdeps/sparc/fpu/fegetenv.c
index a796ccb731..f526cdd9c5 100644
--- a/sysdeps/sparc/fpu/fegetenv.c
+++ b/sysdeps/sparc/fpu/fegetenv.c
@@ -1,5 +1,5 @@
 /* Store 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,14 @@
 
 #include <fenv.h>
 
-void
-fegetenv (fenv_t *envp)
+int
+__fegetenv (fenv_t *envp)
 {
   __fenv_stfsr (*envp);
+
+  /* Success.  */
+  return 0;
 }
+strong_alias (__fegetenv, __old_fegetenv)
+symbol_version (__old_fegetenv, fegetenv, GLIBC_2.1)
+default_symbol_version (__fegetenv, fegetenv, GLIBC_2.1.3)