summaryrefslogtreecommitdiffstats
path: root/lib/libc/arch/vax/gen/fpclassify.c
diff options
context:
space:
mode:
authorguenther <guenther@openbsd.org>2015-10-27 05:54:49 +0000
committerguenther <guenther@openbsd.org>2015-10-27 05:54:49 +0000
commitaf3276d5e32f3e939032c022c530ad02a9ed9a1e (patch)
tree604dedf2de001eeb1ea72a5dbe57b5c0102b8e55 /lib/libc/arch/vax/gen/fpclassify.c
parentFree the received radius packet when it is duplicated. (diff)
downloadwireguard-openbsd-af3276d5e32f3e939032c022c530ad02a9ed9a1e.tar.xz
wireguard-openbsd-af3276d5e32f3e939032c022c530ad02a9ed9a1e.zip
Wrap the remaining math functions in libc: __fpclassify*(), __flt_rounds(),
and ldexp(). ok millert@
Diffstat (limited to 'lib/libc/arch/vax/gen/fpclassify.c')
-rw-r--r--lib/libc/arch/vax/gen/fpclassify.c7
1 files changed, 5 insertions, 2 deletions
diff --git a/lib/libc/arch/vax/gen/fpclassify.c b/lib/libc/arch/vax/gen/fpclassify.c
index 59c7e3b1aa9..dc7b5e90b8f 100644
--- a/lib/libc/arch/vax/gen/fpclassify.c
+++ b/lib/libc/arch/vax/gen/fpclassify.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: fpclassify.c,v 1.6 2013/03/28 18:09:38 martynas Exp $ */
+/* $OpenBSD: fpclassify.c,v 1.7 2015/10/27 05:54:49 guenther Exp $ */
/*
* Copyright (c) 2008 Martynas Venckus <martynas@openbsd.org>
*
@@ -29,6 +29,7 @@ __fpclassify(double d)
return FP_NORMAL;
}
+DEF_STRONG(__fpclassify);
int
__fpclassifyf(float f)
@@ -41,5 +42,7 @@ __fpclassifyf(float f)
return FP_NORMAL;
}
+DEF_STRONG(__fpclassifyf);
-__strong_alias(__fpclassifyl, __fpclassify);
+MAKE_CLONE(__fpclassifyl, __fpclassify);
+DEF_STRONG(__fpclassifyl);