diff options
Diffstat (limited to 'sysdeps/x86_64/fpu/multiarch/s_floor.c')
-rw-r--r-- | sysdeps/x86_64/fpu/multiarch/s_floor.c | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/sysdeps/x86_64/fpu/multiarch/s_floor.c b/sysdeps/x86_64/fpu/multiarch/s_floor.c index 58f8ed8eaf..cbcab2d419 100644 --- a/sysdeps/x86_64/fpu/multiarch/s_floor.c +++ b/sysdeps/x86_64/fpu/multiarch/s_floor.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-double.h> -#define floor __redirect_floor -#define __floor __redirect___floor -#include <math.h> -#undef floor -#undef __floor +extern typeof (__floor) __redirect_floor; #define SYMBOL_NAME floor #include "ifunc-sse4_1.h" libc_ifunc_redirected (__redirect_floor, __floor, IFUNC_SELECTOR ()); +libm_hidden_def (__floor) libm_alias_double (__floor, floor) |