summaryrefslogtreecommitdiff
path: root/sysdeps/generic/fegetenv.c
diff options
context:
space:
mode:
Diffstat (limited to 'sysdeps/generic/fegetenv.c')
-rw-r--r--sysdeps/generic/fegetenv.c10
1 files changed, 8 insertions, 2 deletions
diff --git a/sysdeps/generic/fegetenv.c b/sysdeps/generic/fegetenv.c
index 4afe17a004..6983839284 100644
--- a/sysdeps/generic/fegetenv.c
+++ b/sysdeps/generic/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,9 +20,15 @@
#include <fenv.h>
-void
+int
fegetenv (fenv_t *envp)
{
+ /* This always fails. */
+ return 1;
}
+strong_alias (__fegetenv, __old_fegetenv)
+symbol_version (__old_fegetenv, fegetenv, GLIBC_2.1);
+default_symbol_version (__fegetenv, fegetenv, GLIBC_2.1.3);
+
stub_warning (fegetenv)
#include <stub-tag.h>