summaryrefslogtreecommitdiffstats
path: root/lib/libm/src/e_log2.c
diff options
context:
space:
mode:
authormartynas <martynas@openbsd.org>2013-01-13 03:44:59 +0000
committermartynas <martynas@openbsd.org>2013-01-13 03:44:59 +0000
commitbec2cc9ed0f86f0319e7da7794f847fd97d09187 (patch)
treefbe022f5be3c714a8784e62303796d9ec08776c1 /lib/libm/src/e_log2.c
parentsync (diff)
downloadwireguard-openbsd-bec2cc9ed0f86f0319e7da7794f847fd97d09187.tar.xz
wireguard-openbsd-bec2cc9ed0f86f0319e7da7794f847fd97d09187.zip
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/src/e_log2.c')
-rw-r--r--lib/libm/src/e_log2.c7
1 files changed, 0 insertions, 7 deletions
diff --git a/lib/libm/src/e_log2.c b/lib/libm/src/e_log2.c
index 9692e61edb9..ed0b08adb99 100644
--- a/lib/libm/src/e_log2.c
+++ b/lib/libm/src/e_log2.c
@@ -10,8 +10,6 @@
* ====================================================
*/
-/* LINTLIBRARY */
-
#include <float.h>
#include <math.h>
@@ -78,10 +76,5 @@ log2(double x)
}
#if LDBL_MANT_DIG == 53
-#ifdef lint
-/* PROTOLIB1 */
-long double log2l(long double);
-#else /* lint */
__weak_alias(log2l, log2);
-#endif /* lint */
#endif /* LDBL_MANT_DIG == 53 */