summaryrefslogtreecommitdiffstats
path: root/lib/libm/src
diff options
context:
space:
mode:
authorguenther <guenther@openbsd.org>2018-03-12 06:19:19 +0000
committerguenther <guenther@openbsd.org>2018-03-12 06:19:19 +0000
commitc9ad05d3055dda7d02ab88ed4f078c7f44e6d442 (patch)
tree92eaa75a1f2da12005ed6109ed2592c53b057f9b /lib/libm/src
parentMake the binding of rintl, significand, and significandf consistently (diff)
downloadwireguard-openbsd-c9ad05d3055dda7d02ab88ed4f078c7f44e6d442.tar.xz
wireguard-openbsd-c9ad05d3055dda7d02ab88ed4f078c7f44e6d442.zip
Gah, rintl() is used internally, so add a macro for the fourth possiblity,
a cloning a non-standard, long double function which _is_ used from the matching plain double function build failured pointed out by deraadt@
Diffstat (limited to 'lib/libm/src')
-rw-r--r--lib/libm/src/s_rint.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/libm/src/s_rint.c b/lib/libm/src/s_rint.c
index 20f75d7c856..975d8a08140 100644
--- a/lib/libm/src/s_rint.c
+++ b/lib/libm/src/s_rint.c
@@ -76,4 +76,4 @@ rint(double x)
return w-TWO52[sx];
}
DEF_STD(rint);
-LDBL_MAYBE_NONSTD_UNUSED_CLONE(rint);
+LDBL_MAYBE_NONSTD_CLONE(rint);