diff options
author | Martynas Venckus <martynas@cvs.openbsd.org> | 2011-05-31 21:08:30 +0000 |
---|---|---|
committer | Martynas Venckus <martynas@cvs.openbsd.org> | 2011-05-31 21:08:30 +0000 |
commit | 25a7d02739e0e67ab83a7b44e25fbf1ee6fa4c99 (patch) | |
tree | e3e787003db55096922aa2b61d069176dd3fe706 | |
parent | df8dfc2730ba972c206144c157948aa7d6c56b7d (diff) |
Make lint play nicer in pass 2 of libm on amd64 and i386. The
internal _ItL_* extended-precision constants are of course going
to be declared inconsistently since we define them based on structures;
however prototype as long doubles.
-rw-r--r-- | lib/libm/arch/amd64/invtrig.c | 6 | ||||
-rw-r--r-- | lib/libm/arch/i387/invtrig.c | 6 |
2 files changed, 10 insertions, 2 deletions
diff --git a/lib/libm/arch/amd64/invtrig.c b/lib/libm/arch/amd64/invtrig.c index dc32f953c2d..f0f84bcca36 100644 --- a/lib/libm/arch/amd64/invtrig.c +++ b/lib/libm/arch/amd64/invtrig.c @@ -1,4 +1,4 @@ -/* $OpenBSD: invtrig.c,v 1.1 2008/12/09 20:00:35 martynas Exp $ */ +/* $OpenBSD: invtrig.c,v 1.2 2011/05/31 21:08:29 martynas Exp $ */ /*- * Copyright (c) 2008 David Schultz <das@FreeBSD.ORG> * All rights reserved. @@ -27,6 +27,8 @@ #include <stdint.h> +#ifndef lint + #define STRUCT_DECLS #include "invtrig.h" @@ -82,3 +84,5 @@ const LONGDOUBLE aT[] = { const LONGDOUBLE pi_lo = { 0xece675d1fc8f8cbbULL, 0xbfbeU }; /* -5.01655761266833202345e-20L */ + +#endif /* !lint */ diff --git a/lib/libm/arch/i387/invtrig.c b/lib/libm/arch/i387/invtrig.c index dc32f953c2d..f0f84bcca36 100644 --- a/lib/libm/arch/i387/invtrig.c +++ b/lib/libm/arch/i387/invtrig.c @@ -1,4 +1,4 @@ -/* $OpenBSD: invtrig.c,v 1.1 2008/12/09 20:00:35 martynas Exp $ */ +/* $OpenBSD: invtrig.c,v 1.2 2011/05/31 21:08:29 martynas Exp $ */ /*- * Copyright (c) 2008 David Schultz <das@FreeBSD.ORG> * All rights reserved. @@ -27,6 +27,8 @@ #include <stdint.h> +#ifndef lint + #define STRUCT_DECLS #include "invtrig.h" @@ -82,3 +84,5 @@ const LONGDOUBLE aT[] = { const LONGDOUBLE pi_lo = { 0xece675d1fc8f8cbbULL, 0xbfbeU }; /* -5.01655761266833202345e-20L */ + +#endif /* !lint */ |