diff options
Diffstat (limited to 'lib/libc/gen/isfinite.c')
-rw-r--r-- | lib/libc/gen/isfinite.c | 15 |
1 files changed, 4 insertions, 11 deletions
diff --git a/lib/libc/gen/isfinite.c b/lib/libc/gen/isfinite.c index 9adda1cc981..7a5a08abc2e 100644 --- a/lib/libc/gen/isfinite.c +++ b/lib/libc/gen/isfinite.c @@ -1,4 +1,4 @@ -/* $OpenBSD: isfinite.c,v 1.6 2012/12/05 23:19:59 deraadt Exp $ */ +/* $OpenBSD: isfinite.c,v 1.7 2013/03/28 18:09:38 martynas Exp $ */ /* * Copyright (c) 2008 Martynas Venckus <martynas@openbsd.org> * @@ -15,8 +15,6 @@ * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. */ -/* LINTLIBRARY */ - #include <sys/types.h> #include <machine/ieee.h> #include <float.h> @@ -39,16 +37,11 @@ __isfinitef(float f) } #if LDBL_MANT_DIG == 53 -#ifdef lint -/* PROTOLIB1 */ -int __isfinitel(long double); -#else /* lint */ -__weak_alias(__isfinitel, __isfinite); -#endif /* lint */ +__strong_alias(__isfinitel, __isfinite); #endif /* LDBL_MANT_DIG == 53 */ /* * 3BSD compatibility aliases. */ -__weak_alias(finite, __isfinite); -__weak_alias(finitef, __isfinitef); +__strong_alias(finite, __isfinite); +__strong_alias(finitef, __isfinitef); |