summaryrefslogtreecommitdiff
path: root/sysdeps/alpha/fpu/s_truncf.c
diff options
context:
space:
mode:
Diffstat (limited to 'sysdeps/alpha/fpu/s_truncf.c')
-rw-r--r--sysdeps/alpha/fpu/s_truncf.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/sysdeps/alpha/fpu/s_truncf.c b/sysdeps/alpha/fpu/s_truncf.c
index ca47fdc2b5..4f7528e5c5 100644
--- a/sysdeps/alpha/fpu/s_truncf.c
+++ b/sysdeps/alpha/fpu/s_truncf.c
@@ -17,6 +17,7 @@
<http://www.gnu.org/licenses/>. */
#include <math.h>
+#include <libm-alias-float.h>
/* Use the chopped rounding mode conversion instructions to implement trunc. */
@@ -40,4 +41,4 @@ __truncf (float x)
return copysignf (r, x);
}
-weak_alias (__truncf, truncf)
+libm_alias_float (__trunc, trunc)