diff options
Diffstat (limited to 'lib/libc/gen')
-rw-r--r-- | lib/libc/gen/fpclassify.c | 7 | ||||
-rw-r--r-- | lib/libc/gen/ldexp.c | 3 |
2 files changed, 7 insertions, 3 deletions
diff --git a/lib/libc/gen/fpclassify.c b/lib/libc/gen/fpclassify.c index b878d5ec921..33ae6922148 100644 --- a/lib/libc/gen/fpclassify.c +++ b/lib/libc/gen/fpclassify.c @@ -1,4 +1,4 @@ -/* $OpenBSD: fpclassify.c,v 1.8 2013/07/03 04:46:36 espie Exp $ */ +/* $OpenBSD: fpclassify.c,v 1.9 2015/10/27 05:54:49 guenther Exp $ */ /* * Copyright (c) 2008 Martynas Venckus <martynas@openbsd.org> * @@ -41,6 +41,7 @@ __fpclassify(double d) return FP_NORMAL; } +DEF_STRONG(__fpclassify); int __fpclassifyf(float f) @@ -63,7 +64,9 @@ __fpclassifyf(float f) return FP_NORMAL; } +DEF_STRONG(__fpclassifyf); #if LDBL_MANT_DIG == DBL_MANT_DIG -__strong_alias(__fpclassifyl, __fpclassify); +MAKE_CLONE(__fpclassifyl, __fpclassify); +DEF_STRONG(__fpclassifyl); #endif /* LDBL_MANT_DIG == DBL_MANT_DIG */ diff --git a/lib/libc/gen/ldexp.c b/lib/libc/gen/ldexp.c index eb0829e7007..ebe33f9df91 100644 --- a/lib/libc/gen/ldexp.c +++ b/lib/libc/gen/ldexp.c @@ -1,4 +1,4 @@ -/* $OpenBSD: ldexp.c,v 1.9 2014/07/21 01:51:10 guenther Exp $ */ +/* $OpenBSD: ldexp.c,v 1.10 2015/10/27 05:54:49 guenther Exp $ */ /* @(#)s_scalbn.c 5.1 93/09/24 */ /* @(#)fdlibm.h 5.1 93/09/24 */ /* @@ -120,6 +120,7 @@ ldexp(double x, int n) SET_HIGH_WORD(x,(hx&0x800fffff)|(k<<20)); return x*twom54; } +DEF_STRONG(ldexp); #if LDBL_MANT_DIG == DBL_MANT_DIG __strong_alias(ldexpl, ldexp); |