about summary refs log tree commit diff
path: root/sysdeps/generic/fgetexcptflg.c
diff options
context:
space:
mode:
Diffstat (limited to 'sysdeps/generic/fgetexcptflg.c')
-rw-r--r--sysdeps/generic/fgetexcptflg.c12
1 files changed, 9 insertions, 3 deletions
diff --git a/sysdeps/generic/fgetexcptflg.c b/sysdeps/generic/fgetexcptflg.c
index 94f36f7f21..164f374e04 100644
--- a/sysdeps/generic/fgetexcptflg.c
+++ b/sysdeps/generic/fgetexcptflg.c
@@ -1,5 +1,5 @@
 /* Store current representation for 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.
    Contributed by Ulrich Drepper <drepper@cygnus.com>, 1997.
 
@@ -20,9 +20,15 @@
 
 #include <fenv.h>
 
-void
-fegetexceptflag (fexcept_t *flagp, int excepts)
+int
+__fegetexceptflag (fexcept_t *flagp, int excepts)
 {
+  /* This always fails.  */
+  return 1;
 }
+strong_alias (__fegetexceptflag, __old_fegetexceptflag)
+symbol_version (__old_fegetexceptflag, fegetexceptflag, GLIBC_2.1);
+default_symbol_version (__fegetexceptflag, fegetexceptflag, GLIBC_2.1.3);
+
 stub_warning (fegetexceptflag)
 #include <stub-tag.h>