diff options
Diffstat (limited to 'sysdeps/alpha/fpu/fgetexcptflg.c')
-rw-r--r-- | sysdeps/alpha/fpu/fgetexcptflg.c | 14 |
1 files changed, 10 insertions, 4 deletions
diff --git a/sysdeps/alpha/fpu/fgetexcptflg.c b/sysdeps/alpha/fpu/fgetexcptflg.c index 28d9e129b1..2811d02cd1 100644 --- a/sysdeps/alpha/fpu/fgetexcptflg.c +++ b/sysdeps/alpha/fpu/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 Richard Henderson <rth@tamu.edu>, 1997. @@ -20,14 +20,20 @@ #include <fenv.h> -void -fegetexceptflag (fexcept_t *flagp, int excepts) +int +__fegetexceptflag (fexcept_t *flagp, int excepts) { - unsigned long tmp; + unsigned long int tmp; /* Get the current state. */ tmp = __ieee_get_fp_control(); /* Return that portion that corresponds to the requested exceptions. */ *flagp = tmp & excepts & FE_ALL_EXCEPT; + + /* Success. */ + return 0; } +strong_alias (__fegetexceptflag, __old_fegetexceptflag) +symbol_version (__old_fegetexceptflag, fegetexceptflag, GLIBC_2.1); +default_symbol_version (__fegetexceptflag, fegetexceptflag, GLIBC_2.1.3); |