diff options
Diffstat (limited to 'sysdeps/x86_64/fpu/multiarch/s_floorf.c')
-rw-r--r-- | sysdeps/x86_64/fpu/multiarch/s_floorf.c | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/sysdeps/x86_64/fpu/multiarch/s_floorf.c b/sysdeps/x86_64/fpu/multiarch/s_floorf.c index 5ef2fec2e3..c73a3c0fc6 100644 --- a/sysdeps/x86_64/fpu/multiarch/s_floorf.c +++ b/sysdeps/x86_64/fpu/multiarch/s_floorf.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 floorf __redirect_floorf -#define __floorf __redirect___floorf -#include <math.h> -#undef floorf -#undef __floorf +extern typeof (__floorf) __redirect_floorf; #define SYMBOL_NAME floorf #include "ifunc-sse4_1.h" libc_ifunc_redirected (__redirect_floorf, __floorf, IFUNC_SELECTOR ()); +libm_hidden_def (__floorf) libm_alias_float (__floor, floor) |