about summary refs log tree commit diff
path: root/sysdeps/generic/fgetexcptflg.c
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2000-04-05 00:29:26 +0000
committerUlrich Drepper <drepper@redhat.com>2000-04-05 00:29:26 +0000
commit09847c8d0dd17bf14b24afeb940b9887f09e4c3f (patch)
tree1dddaba4e05e25b10c454c94a51ef30a1c7a24d5 /sysdeps/generic/fgetexcptflg.c
parent736d0841e4aeee3013893e0aa095802f2c1de0d8 (diff)
downloadglibc-09847c8d0dd17bf14b24afeb940b9887f09e4c3f.tar.gz
glibc-09847c8d0dd17bf14b24afeb940b9887f09e4c3f.tar.xz
glibc-09847c8d0dd17bf14b24afeb940b9887f09e4c3f.zip
Update.
2000-04-04  Andreas Jaeger  <aj@suse.de>

	* sysdeps/generic/fgetexcptflg.c: Use shlib-compat macros.
Diffstat (limited to 'sysdeps/generic/fgetexcptflg.c')
-rw-r--r--sysdeps/generic/fgetexcptflg.c7
1 files changed, 5 insertions, 2 deletions
diff --git a/sysdeps/generic/fgetexcptflg.c b/sysdeps/generic/fgetexcptflg.c
index 9982e79077..5c01b73d2d 100644
--- a/sysdeps/generic/fgetexcptflg.c
+++ b/sysdeps/generic/fgetexcptflg.c
@@ -19,6 +19,7 @@
    Boston, MA 02111-1307, USA.  */
 
 #include <fenv.h>
+#include <shlib-compat.h>
 
 int
 __fegetexceptflag (fexcept_t *flagp, int excepts)
@@ -26,9 +27,11 @@ __fegetexceptflag (fexcept_t *flagp, int excepts)
   /* This always fails.  */
   return 1;
 }
+#if SHLIB_COMPAT (libm, GLIBC_2_1, GLIBC_2_2)
 strong_alias (__fegetexceptflag, __old_fegetexceptflag)
-symbol_version (__old_fegetexceptflag, fegetexceptflag, GLIBC_2.1);
-default_symbol_version (__fegetexceptflag, fegetexceptflag, GLIBC_2.2);
+compat_symbol (libm, __old_fegetexceptflag, fegetexceptflag, GLIBC_2_1);
+#endif
+versioned_symbol (libm, __fegetexceptflag, fegetexceptflag, GLIBC_2_2);
 
 stub_warning (fegetexceptflag)
 #include <stub-tag.h>