diff options
Diffstat (limited to 'sysdeps/x86_64/fpu/multiarch/s_rintf.c')
-rw-r--r-- | sysdeps/x86_64/fpu/multiarch/s_rintf.c | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/sysdeps/x86_64/fpu/multiarch/s_rintf.c b/sysdeps/x86_64/fpu/multiarch/s_rintf.c index 41323b3b5b..011c7effa0 100644 --- a/sysdeps/x86_64/fpu/multiarch/s_rintf.c +++ b/sysdeps/x86_64/fpu/multiarch/s_rintf.c @@ -16,16 +16,14 @@ License along with the GNU C Library; if not, see <http://www.gnu.org/licenses/>. */ +#include <math.h> #include <libm-alias-float.h> -#define rintf __redirect_rintf -#define __rintf __redirect___rintf -#include <math.h> -#undef rintf -#undef __rintf +extern typeof (__rintf) __redirect_rintf; #define SYMBOL_NAME rintf #include "ifunc-sse4_1.h" libc_ifunc_redirected (__redirect_rintf, __rintf, IFUNC_SELECTOR ()); +libm_hidden_def (__rintf) libm_alias_float (__rint, rint) |