summaryrefslogtreecommitdiff
path: root/sysdeps/alpha/fpu/s_lrintf.c
diff options
context:
space:
mode:
Diffstat (limited to 'sysdeps/alpha/fpu/s_lrintf.c')
-rw-r--r--sysdeps/alpha/fpu/s_lrintf.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/sysdeps/alpha/fpu/s_lrintf.c b/sysdeps/alpha/fpu/s_lrintf.c
index cfcf35caae..c96cf28b59 100644
--- a/sysdeps/alpha/fpu/s_lrintf.c
+++ b/sysdeps/alpha/fpu/s_lrintf.c
@@ -18,6 +18,7 @@
#define __llrintf not___llrintf
#define llrintf not_llrintf
#include <math.h>
+#include <libm-alias-float.h>
#undef __llrintf
#undef llrintf
@@ -34,5 +35,5 @@ __lrintf (float x)
}
strong_alias (__lrintf, __llrintf)
-weak_alias (__lrintf, lrintf)
-weak_alias (__llrintf, llrintf)
+libm_alias_float (__lrint, lrint)
+libm_alias_float (__llrint, llrint)