diff options
author | Martynas Venckus <martynas@cvs.openbsd.org> | 2013-01-13 03:45:01 +0000 |
---|---|---|
committer | Martynas Venckus <martynas@cvs.openbsd.org> | 2013-01-13 03:45:01 +0000 |
commit | b762e20c2f1baadeb92faa332cf5f5aee2c40323 (patch) | |
tree | aea4e6af1c7198456c97e3d6927c255a59af6afc /lib/libm/noieee_src/n_support.c | |
parent | d55271d9132e452df02044ea1dd387a64b7ba419 (diff) |
Get rid of the very ugly lint workarounds: LINTLIBRARY, PROTOLIB,
and a few empty files for lint to chew on.
Diffstat (limited to 'lib/libm/noieee_src/n_support.c')
-rw-r--r-- | lib/libm/noieee_src/n_support.c | 28 |
1 files changed, 1 insertions, 27 deletions
diff --git a/lib/libm/noieee_src/n_support.c b/lib/libm/noieee_src/n_support.c index 5feaee90949..92ba473aa58 100644 --- a/lib/libm/noieee_src/n_support.c +++ b/lib/libm/noieee_src/n_support.c @@ -1,4 +1,4 @@ -/* $OpenBSD: n_support.c,v 1.20 2012/12/05 23:20:03 deraadt Exp $ */ +/* $OpenBSD: n_support.c,v 1.21 2013/01/13 03:44:59 martynas Exp $ */ /* $NetBSD: n_support.c,v 1.1 1995/10/10 23:37:06 ragge Exp $ */ /* * Copyright (c) 1985, 1993 @@ -64,8 +64,6 @@ * REVISED BY K.C. NG on 1/22/85, 2/13/85, 3/24/85. */ -/* LINTLIBRARY */ - #include <math.h> #include "mathimpl.h" @@ -118,13 +116,7 @@ scalbn(double x, int N) return(x); } -#ifdef lint -/* PROTOLIB1 */ -long double scalbnl(long double, int); -/* PROTOLIB0 */ -#else /* lint */ __weak_alias(scalbnl, scalbn); -#endif /* lint */ double copysign(double x, double y) @@ -140,13 +132,7 @@ copysign(double x, double y) return(x); } -#ifdef lint -/* PROTOLIB1 */ -long double copysignl(long double, long double); -/* PROTOLIB0 */ -#else /* lint */ __weak_alias(copysignl, copysign); -#endif /* lint */ double logb(double x) @@ -171,13 +157,7 @@ logb(double x) #endif /* defined(__vax__) */ } -#ifdef lint -/* PROTOLIB1 */ -long double logbl(long double); -/* PROTOLIB0 */ -#else /* lint */ __weak_alias(logbl, logb); -#endif /* lint */ double remainder(double x, double p) @@ -328,13 +308,7 @@ sqrt(double x) end: return(scalbn(q,n)); } -#ifdef lint -/* PROTOLIB1 */ -long double sqrtl(long double); -/* PROTOLIB0 */ -#else /* lint */ __weak_alias(sqrtl, sqrt); -#endif /* lint */ #if 0 /* REMAINDER(X,Y) |