diff options
Diffstat (limited to 'sysdeps/i386/fpu/fegetenv.c')
-rw-r--r-- | sysdeps/i386/fpu/fegetenv.c | 12 |
1 files changed, 9 insertions, 3 deletions
diff --git a/sysdeps/i386/fpu/fegetenv.c b/sysdeps/i386/fpu/fegetenv.c index 452449d044..525eb08bd2 100644 --- a/sysdeps/i386/fpu/fegetenv.c +++ b/sysdeps/i386/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. Contributed by Ulrich Drepper <drepper@cygnus.com>, 1997. @@ -20,8 +20,14 @@ #include <fenv.h> -void -fegetenv (fenv_t *envp) +int +__fegetenv (fenv_t *envp) { __asm__ ("fnstenv %0" : "=m" (*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); |