about summary refs log tree commit diff
path: root/math/w_coshf_compat.c
diff options
context:
space:
mode:
Diffstat (limited to 'math/w_coshf_compat.c')
-rw-r--r--math/w_coshf_compat.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/math/w_coshf_compat.c b/math/w_coshf_compat.c
index b5d53168f2..e19f338f7a 100644
--- a/math/w_coshf_compat.c
+++ b/math/w_coshf_compat.c
@@ -21,6 +21,7 @@
 #include <math.h>
 #include <math_private.h>
 #include <math-svid-compat.h>
+#include <libm-alias-float.h>
 
 #if LIBM_SVID_COMPAT
 float
@@ -33,5 +34,5 @@ __coshf (float x)
 
 	return z;
 }
-weak_alias (__coshf, coshf)
+libm_alias_float (__cosh, cosh)
 #endif