aboutsummaryrefslogtreecommitdiff
path: root/math/w_log2f_compat.c
diff options
context:
space:
mode:
Diffstat (limited to 'math/w_log2f_compat.c')
-rw-r--r--math/w_log2f_compat.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/math/w_log2f_compat.c b/math/w_log2f_compat.c
index 82085d5..295c162 100644
--- a/math/w_log2f_compat.c
+++ b/math/w_log2f_compat.c
@@ -20,6 +20,7 @@
#include <math.h>
#include <math_private.h>
#include <math-svid-compat.h>
+#include <libm-alias-float.h>
#if LIBM_SVID_COMPAT
@@ -43,5 +44,5 @@ __log2f (float x)
return __ieee754_log2f (x);
}
-weak_alias (__log2f, log2f)
+libm_alias_float (__log2, log2)
#endif