diff options
Diffstat (limited to 'lib/libm')
111 files changed, 66 insertions, 239 deletions
diff --git a/lib/libm/arch/amd64/fenv.c b/lib/libm/arch/amd64/fenv.c index 245ca0af695..7ad3be7828e 100644 --- a/lib/libm/arch/amd64/fenv.c +++ b/lib/libm/arch/amd64/fenv.c @@ -1,4 +1,4 @@ -/* $OpenBSD: fenv.c,v 1.2 2011/04/28 17:34:23 martynas Exp $ */ +/* $OpenBSD: fenv.c,v 1.3 2012/12/05 23:20:02 deraadt Exp $ */ /* $NetBSD: fenv.c,v 1.1 2010/07/31 21:47:53 joerg Exp $ */ /*- @@ -27,10 +27,8 @@ * SUCH DAMAGE. */ -#include <sys/cdefs.h> -#include <machine/fpu.h> - #include <fenv.h> +#include <machine/fpu.h> /* * The following constant represents the default floating-point environment diff --git a/lib/libm/arch/arm/fenv.c b/lib/libm/arch/arm/fenv.c index 66bc3bc2b75..9700af4b36d 100644 --- a/lib/libm/arch/arm/fenv.c +++ b/lib/libm/arch/arm/fenv.c @@ -1,4 +1,4 @@ -/* $OpenBSD: fenv.c,v 1.2 2011/04/28 17:34:23 martynas Exp $ */ +/* $OpenBSD: fenv.c,v 1.3 2012/12/05 23:20:02 deraadt Exp $ */ /* * Copyright (c) 2011 Martynas Venckus <martynas@openbsd.org> @@ -16,10 +16,8 @@ * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. */ -#include <sys/cdefs.h> -#include <machine/ieeefp.h> - #include <fenv.h> +#include <machine/ieeefp.h> extern fp_except _softfloat_float_exception_flags; extern fp_except _softfloat_float_exception_mask; diff --git a/lib/libm/arch/hppa/e_remainder.c b/lib/libm/arch/hppa/e_remainder.c index e7b02d4dde4..1036e410ae4 100644 --- a/lib/libm/arch/hppa/e_remainder.c +++ b/lib/libm/arch/hppa/e_remainder.c @@ -2,7 +2,6 @@ * Written by Michael Shalayeff. Public Domain */ -#include <sys/cdefs.h> #include <math.h> double diff --git a/lib/libm/arch/hppa/e_sqrt.c b/lib/libm/arch/hppa/e_sqrt.c index bd9e61e9ffa..0646682c099 100644 --- a/lib/libm/arch/hppa/e_sqrt.c +++ b/lib/libm/arch/hppa/e_sqrt.c @@ -4,7 +4,6 @@ /* LINTLIBRARY */ -#include <sys/cdefs.h> #include <float.h> #include <math.h> diff --git a/lib/libm/arch/hppa/fenv.c b/lib/libm/arch/hppa/fenv.c index 74deb254db7..931c62218fa 100644 --- a/lib/libm/arch/hppa/fenv.c +++ b/lib/libm/arch/hppa/fenv.c @@ -1,4 +1,4 @@ -/* $OpenBSD: fenv.c,v 1.2 2011/04/28 17:34:23 martynas Exp $ */ +/* $OpenBSD: fenv.c,v 1.3 2012/12/05 23:20:02 deraadt Exp $ */ /* * Copyright (c) 2011 Martynas Venckus <martynas@openbsd.org> @@ -16,8 +16,6 @@ * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. */ -#include <sys/cdefs.h> - #include <fenv.h> union u { diff --git a/lib/libm/arch/hppa/s_rint.c b/lib/libm/arch/hppa/s_rint.c index bca46032b56..e87de8df0f3 100644 --- a/lib/libm/arch/hppa/s_rint.c +++ b/lib/libm/arch/hppa/s_rint.c @@ -4,7 +4,6 @@ /* LINTLIBRARY */ -#include <sys/cdefs.h> #include <float.h> #include <math.h> diff --git a/lib/libm/arch/hppa64/fenv.c b/lib/libm/arch/hppa64/fenv.c index 1452f51f1c7..62590cce4ca 100644 --- a/lib/libm/arch/hppa64/fenv.c +++ b/lib/libm/arch/hppa64/fenv.c @@ -1,4 +1,4 @@ -/* $OpenBSD: fenv.c,v 1.1 2011/04/28 17:34:23 martynas Exp $ */ +/* $OpenBSD: fenv.c,v 1.2 2012/12/05 23:20:02 deraadt Exp $ */ /* * Copyright (c) 2011 Martynas Venckus <martynas@openbsd.org> @@ -16,8 +16,6 @@ * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. */ -#include <sys/cdefs.h> - #include <fenv.h> union u { diff --git a/lib/libm/arch/i387/fenv.c b/lib/libm/arch/i387/fenv.c index 9f79a807e8b..c0827c1173b 100644 --- a/lib/libm/arch/i387/fenv.c +++ b/lib/libm/arch/i387/fenv.c @@ -1,4 +1,4 @@ -/* $OpenBSD: fenv.c,v 1.2 2011/04/28 17:34:23 martynas Exp $ */ +/* $OpenBSD: fenv.c,v 1.3 2012/12/05 23:20:02 deraadt Exp $ */ /* $NetBSD: fenv.c,v 1.3 2010/08/01 06:34:38 taca Exp $ */ /*- @@ -27,11 +27,10 @@ * SUCH DAMAGE. */ -#include <sys/cdefs.h> -#include <machine/cpu.h> -#include <machine/npx.h> #include <sys/param.h> #include <sys/sysctl.h> +#include <machine/cpu.h> +#include <machine/npx.h> #include <fenv.h> diff --git a/lib/libm/arch/m88k/fenv.c b/lib/libm/arch/m88k/fenv.c index e2aa8f989b2..771c6b9c968 100644 --- a/lib/libm/arch/m88k/fenv.c +++ b/lib/libm/arch/m88k/fenv.c @@ -1,4 +1,4 @@ -/* $OpenBSD: fenv.c,v 1.3 2011/04/29 21:37:40 martynas Exp $ */ +/* $OpenBSD: fenv.c,v 1.4 2012/12/05 23:20:02 deraadt Exp $ */ /* * Copyright (c) 2011 Martynas Venckus <martynas@openbsd.org> @@ -16,8 +16,6 @@ * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. */ -#include <sys/cdefs.h> - #include <fenv.h> /* diff --git a/lib/libm/arch/mc68881/fenv.c b/lib/libm/arch/mc68881/fenv.c index 4d65045df0c..1fb626741e3 100644 --- a/lib/libm/arch/mc68881/fenv.c +++ b/lib/libm/arch/mc68881/fenv.c @@ -1,4 +1,4 @@ -/* $OpenBSD: fenv.c,v 1.2 2011/04/28 17:34:23 martynas Exp $ */ +/* $OpenBSD: fenv.c,v 1.3 2012/12/05 23:20:03 deraadt Exp $ */ /* * Copyright (c) 2011 Martynas Venckus <martynas@openbsd.org> @@ -16,8 +16,6 @@ * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. */ -#include <sys/cdefs.h> - #include <fenv.h> /* diff --git a/lib/libm/arch/mips64/fenv.c b/lib/libm/arch/mips64/fenv.c index 72f9bd6dc54..bfc485490db 100644 --- a/lib/libm/arch/mips64/fenv.c +++ b/lib/libm/arch/mips64/fenv.c @@ -1,4 +1,4 @@ -/* $OpenBSD: fenv.c,v 1.2 2011/04/28 17:34:23 martynas Exp $ */ +/* $OpenBSD: fenv.c,v 1.3 2012/12/05 23:20:03 deraadt Exp $ */ /* * Copyright (c) 2011 Martynas Venckus <martynas@openbsd.org> @@ -16,8 +16,6 @@ * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. */ -#include <sys/cdefs.h> - #include <fenv.h> /* diff --git a/lib/libm/arch/powerpc/fenv.c b/lib/libm/arch/powerpc/fenv.c index 7f31179f177..31ff7a4f560 100644 --- a/lib/libm/arch/powerpc/fenv.c +++ b/lib/libm/arch/powerpc/fenv.c @@ -1,4 +1,4 @@ -/* $OpenBSD: fenv.c,v 1.2 2011/04/28 17:34:23 martynas Exp $ */ +/* $OpenBSD: fenv.c,v 1.3 2012/12/05 23:20:03 deraadt Exp $ */ /* * Copyright (c) 2011 Martynas Venckus <martynas@openbsd.org> @@ -16,8 +16,6 @@ * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. */ -#include <sys/cdefs.h> - #include <fenv.h> union u { diff --git a/lib/libm/arch/sh/e_sqrt.c b/lib/libm/arch/sh/e_sqrt.c index 5b4ef8dcc81..ca61513734e 100644 --- a/lib/libm/arch/sh/e_sqrt.c +++ b/lib/libm/arch/sh/e_sqrt.c @@ -1,4 +1,4 @@ -/* $OpenBSD: e_sqrt.c,v 1.2 2011/05/30 18:34:38 martynas Exp $ */ +/* $OpenBSD: e_sqrt.c,v 1.3 2012/12/05 23:20:03 deraadt Exp $ */ /* * Written by Martynas Venckus. Public domain @@ -7,7 +7,6 @@ /* LINTLIBRARY */ #include <sys/types.h> -#include <sys/cdefs.h> #include <math.h> #define FPSCR_PR (1 << 19) diff --git a/lib/libm/arch/sh/fenv.c b/lib/libm/arch/sh/fenv.c index 32de203a0dc..078ec424e4c 100644 --- a/lib/libm/arch/sh/fenv.c +++ b/lib/libm/arch/sh/fenv.c @@ -1,4 +1,4 @@ -/* $OpenBSD: fenv.c,v 1.2 2011/04/28 17:34:23 martynas Exp $ */ +/* $OpenBSD: fenv.c,v 1.3 2012/12/05 23:20:03 deraadt Exp $ */ /* * Copyright (c) 2011 Martynas Venckus <martynas@openbsd.org> @@ -16,8 +16,6 @@ * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. */ -#include <sys/cdefs.h> - #include <fenv.h> extern unsigned int __fpscr_values[2]; diff --git a/lib/libm/arch/sparc/fenv.c b/lib/libm/arch/sparc/fenv.c index 722973f6f92..ee4254400de 100644 --- a/lib/libm/arch/sparc/fenv.c +++ b/lib/libm/arch/sparc/fenv.c @@ -1,4 +1,4 @@ -/* $OpenBSD: fenv.c,v 1.2 2011/04/28 17:34:23 martynas Exp $ */ +/* $OpenBSD: fenv.c,v 1.3 2012/12/05 23:20:03 deraadt Exp $ */ /* $NetBSD: fenv.c,v 1.1 2011/01/31 00:19:33 christos Exp $ */ /*- @@ -24,7 +24,6 @@ * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY */ -#include <sys/cdefs.h> #include <fenv.h> diff --git a/lib/libm/arch/sparc64/fenv.c b/lib/libm/arch/sparc64/fenv.c index b865c7ec388..390324e8eda 100644 --- a/lib/libm/arch/sparc64/fenv.c +++ b/lib/libm/arch/sparc64/fenv.c @@ -1,4 +1,4 @@ -/* $OpenBSD: fenv.c,v 1.3 2011/04/28 17:34:23 martynas Exp $ */ +/* $OpenBSD: fenv.c,v 1.4 2012/12/05 23:20:03 deraadt Exp $ */ /* $NetBSD: fenv.c,v 1.1 2011/01/31 00:19:33 christos Exp $ */ /*- @@ -24,7 +24,6 @@ * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY */ -#include <sys/cdefs.h> #include <fenv.h> diff --git a/lib/libm/noieee_src/n_asincos.c b/lib/libm/noieee_src/n_asincos.c index ee5c19dc162..b468841e9c9 100644 --- a/lib/libm/noieee_src/n_asincos.c +++ b/lib/libm/noieee_src/n_asincos.c @@ -1,4 +1,4 @@ -/* $OpenBSD: n_asincos.c,v 1.11 2011/05/30 18:34:38 martynas Exp $ */ +/* $OpenBSD: n_asincos.c,v 1.12 2012/12/05 23:20:03 deraadt Exp $ */ /* $NetBSD: n_asincos.c,v 1.1 1995/10/10 23:36:34 ragge Exp $ */ /* * Copyright (c) 1985, 1993 @@ -83,7 +83,6 @@ /* LINTLIBRARY */ -#include <sys/cdefs.h> #include <math.h> #include "mathimpl.h" diff --git a/lib/libm/noieee_src/n_atan.c b/lib/libm/noieee_src/n_atan.c index 782945ac002..e0cb8491337 100644 --- a/lib/libm/noieee_src/n_atan.c +++ b/lib/libm/noieee_src/n_atan.c @@ -1,4 +1,4 @@ -/* $OpenBSD: n_atan.c,v 1.9 2011/05/30 18:34:38 martynas Exp $ */ +/* $OpenBSD: n_atan.c,v 1.10 2012/12/05 23:20:03 deraadt Exp $ */ /* $NetBSD: n_atan.c,v 1.1 1995/10/10 23:36:36 ragge Exp $ */ /* * Copyright (c) 1985, 1993 @@ -75,7 +75,6 @@ /* LINTLIBRARY */ -#include <sys/cdefs.h> #include <math.h> double diff --git a/lib/libm/noieee_src/n_atan2.c b/lib/libm/noieee_src/n_atan2.c index 763d7f6cbb1..510d08e11fc 100644 --- a/lib/libm/noieee_src/n_atan2.c +++ b/lib/libm/noieee_src/n_atan2.c @@ -1,4 +1,4 @@ -/* $OpenBSD: n_atan2.c,v 1.14 2011/05/30 18:34:38 martynas Exp $ */ +/* $OpenBSD: n_atan2.c,v 1.15 2012/12/05 23:20:03 deraadt Exp $ */ /* $NetBSD: n_atan2.c,v 1.1 1995/10/10 23:36:37 ragge Exp $ */ /* * Copyright (c) 1985, 1993 @@ -105,7 +105,6 @@ /* LINTLIBRARY */ -#include <sys/cdefs.h> #include <math.h> #include "mathimpl.h" diff --git a/lib/libm/noieee_src/n_cbrt.c b/lib/libm/noieee_src/n_cbrt.c index 94dba84c850..1d471079c0e 100644 --- a/lib/libm/noieee_src/n_cbrt.c +++ b/lib/libm/noieee_src/n_cbrt.c @@ -1,4 +1,4 @@ -/* $OpenBSD: n_cbrt.c,v 1.6 2009/10/27 23:59:29 deraadt Exp $ */ +/* $OpenBSD: n_cbrt.c,v 1.7 2012/12/05 23:20:03 deraadt Exp $ */ /* $NetBSD: n_cbrt.c,v 1.1 1995/10/10 23:36:40 ragge Exp $ */ /* * Copyright (c) 1985, 1993 @@ -29,7 +29,7 @@ * SUCH DAMAGE. */ -#include <sys/cdefs.h> +#include <sys/types.h> /* kahan's cube root (53 bits IEEE double precision) * for IEEE machines only diff --git a/lib/libm/noieee_src/n_fdim.c b/lib/libm/noieee_src/n_fdim.c index ee251bc41ca..683f5e73a66 100644 --- a/lib/libm/noieee_src/n_fdim.c +++ b/lib/libm/noieee_src/n_fdim.c @@ -1,4 +1,4 @@ -/* $OpenBSD: n_fdim.c,v 1.4 2011/05/30 18:34:38 martynas Exp $ */ +/* $OpenBSD: n_fdim.c,v 1.5 2012/12/05 23:20:03 deraadt Exp $ */ /*- * Copyright (c) 2004 David Schultz <das@FreeBSD.ORG> * All rights reserved. @@ -27,7 +27,6 @@ /* LINTLIBRARY */ -#include <sys/cdefs.h> #include <math.h> #define DECL(type, fn) \ diff --git a/lib/libm/noieee_src/n_floor.c b/lib/libm/noieee_src/n_floor.c index 268662a7ca5..b591843618c 100644 --- a/lib/libm/noieee_src/n_floor.c +++ b/lib/libm/noieee_src/n_floor.c @@ -1,4 +1,4 @@ -/* $OpenBSD: n_floor.c,v 1.14 2011/05/30 18:34:38 martynas Exp $ */ +/* $OpenBSD: n_floor.c,v 1.15 2012/12/05 23:20:03 deraadt Exp $ */ /* $NetBSD: n_floor.c,v 1.1 1995/10/10 23:36:48 ragge Exp $ */ /* * Copyright (c) 1985, 1993 @@ -31,7 +31,6 @@ /* LINTLIBRARY */ -#include <sys/cdefs.h> #include <math.h> #include "mathimpl.h" diff --git a/lib/libm/noieee_src/n_fmax.c b/lib/libm/noieee_src/n_fmax.c index 5ef76e52143..ba6101c0afa 100644 --- a/lib/libm/noieee_src/n_fmax.c +++ b/lib/libm/noieee_src/n_fmax.c @@ -1,4 +1,4 @@ -/* $OpenBSD: n_fmax.c,v 1.4 2011/05/30 18:34:38 martynas Exp $ */ +/* $OpenBSD: n_fmax.c,v 1.5 2012/12/05 23:20:03 deraadt Exp $ */ /*- * Copyright (c) 2004 David Schultz <das@FreeBSD.ORG> * All rights reserved. @@ -27,7 +27,6 @@ /* LINTLIBRARY */ -#include <sys/cdefs.h> #include <math.h> double diff --git a/lib/libm/noieee_src/n_fmin.c b/lib/libm/noieee_src/n_fmin.c index ae7f2698115..251a40e6d22 100644 --- a/lib/libm/noieee_src/n_fmin.c +++ b/lib/libm/noieee_src/n_fmin.c @@ -1,4 +1,4 @@ -/* $OpenBSD: n_fmin.c,v 1.4 2011/05/30 18:34:38 martynas Exp $ */ +/* $OpenBSD: n_fmin.c,v 1.5 2012/12/05 23:20:03 deraadt Exp $ */ /*- * Copyright (c) 2004 David Schultz <das@FreeBSD.ORG> * All rights reserved. @@ -27,7 +27,6 @@ /* LINTLIBRARY */ -#include <sys/cdefs.h> #include <math.h> double diff --git a/lib/libm/noieee_src/n_sincos.c b/lib/libm/noieee_src/n_sincos.c index 8c41228795e..f2977c8c945 100644 --- a/lib/libm/noieee_src/n_sincos.c +++ b/lib/libm/noieee_src/n_sincos.c @@ -1,4 +1,4 @@ -/* $OpenBSD: n_sincos.c,v 1.10 2011/05/30 18:34:38 martynas Exp $ */ +/* $OpenBSD: n_sincos.c,v 1.11 2012/12/05 23:20:03 deraadt Exp $ */ /* $NetBSD: n_sincos.c,v 1.1 1995/10/10 23:37:04 ragge Exp $ */ /* * Copyright (c) 1987, 1993 @@ -31,7 +31,6 @@ /* LINTLIBRARY */ -#include <sys/cdefs.h> #include <math.h> #include "mathimpl.h" diff --git a/lib/libm/noieee_src/n_support.c b/lib/libm/noieee_src/n_support.c index afd273f2d1f..5feaee90949 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.19 2011/05/30 18:34:38 martynas Exp $ */ +/* $OpenBSD: n_support.c,v 1.20 2012/12/05 23:20:03 deraadt Exp $ */ /* $NetBSD: n_support.c,v 1.1 1995/10/10 23:37:06 ragge Exp $ */ /* * Copyright (c) 1985, 1993 @@ -66,7 +66,6 @@ /* LINTLIBRARY */ -#include <sys/cdefs.h> #include <math.h> #include "mathimpl.h" diff --git a/lib/libm/noieee_src/n_tan.c b/lib/libm/noieee_src/n_tan.c index 83e16f8cdda..88ffb3cfc19 100644 --- a/lib/libm/noieee_src/n_tan.c +++ b/lib/libm/noieee_src/n_tan.c @@ -1,4 +1,4 @@ -/* $OpenBSD: n_tan.c,v 1.10 2011/05/30 18:34:38 martynas Exp $ */ +/* $OpenBSD: n_tan.c,v 1.11 2012/12/05 23:20:03 deraadt Exp $ */ /* $NetBSD: n_tan.c,v 1.1 1995/10/10 23:37:07 ragge Exp $ */ /* * Copyright (c) 1987, 1993 @@ -31,7 +31,6 @@ /* LINTLIBRARY */ -#include <sys/cdefs.h> #include <math.h> #include "mathimpl.h" diff --git a/lib/libm/src/b_tgamma.c b/lib/libm/src/b_tgamma.c index 14a1e8f54ee..725e0257492 100644 --- a/lib/libm/src/b_tgamma.c +++ b/lib/libm/src/b_tgamma.c @@ -1,4 +1,4 @@ -/* $OpenBSD: b_tgamma.c,v 1.4 2011/07/06 00:02:42 martynas Exp $ */ +/* $OpenBSD: b_tgamma.c,v 1.5 2012/12/05 23:20:03 deraadt Exp $ */ /*- * Copyright (c) 1992, 1993 * The Regents of the University of California. All rights reserved. @@ -37,7 +37,6 @@ * acknowledged. */ -#include <sys/cdefs.h> #include <float.h> #include <math.h> diff --git a/lib/libm/src/e_acos.c b/lib/libm/src/e_acos.c index 55bef8e7ee0..5f86741365a 100644 --- a/lib/libm/src/e_acos.c +++ b/lib/libm/src/e_acos.c @@ -36,7 +36,6 @@ /* LINTLIBRARY */ -#include <sys/cdefs.h> #include <float.h> #include <math.h> diff --git a/lib/libm/src/e_acosh.c b/lib/libm/src/e_acosh.c index 290e6bef9ec..159c6379f46 100644 --- a/lib/libm/src/e_acosh.c +++ b/lib/libm/src/e_acosh.c @@ -26,7 +26,6 @@ * acosh(NaN) is NaN without signal. */ -#include <sys/cdefs.h> #include <float.h> #include <math.h> diff --git a/lib/libm/src/e_asin.c b/lib/libm/src/e_asin.c index f2a3cac06ad..d6134c49a30 100644 --- a/lib/libm/src/e_asin.c +++ b/lib/libm/src/e_asin.c @@ -42,7 +42,6 @@ /* LINTLIBRARY */ -#include <sys/cdefs.h> #include <float.h> #include <math.h> diff --git a/lib/libm/src/e_atan2.c b/lib/libm/src/e_atan2.c index a2a8f383d2a..f1f0ad1d22c 100644 --- a/lib/libm/src/e_atan2.c +++ b/lib/libm/src/e_atan2.c @@ -39,7 +39,6 @@ /* LINTLIBRARY */ -#include <sys/cdefs.h> #include <float.h> #include <math.h> diff --git a/lib/libm/src/e_atanh.c b/lib/libm/src/e_atanh.c index a8d114291f2..24b097f33e1 100644 --- a/lib/libm/src/e_atanh.c +++ b/lib/libm/src/e_atanh.c @@ -30,7 +30,6 @@ * */ -#include <sys/cdefs.h> #include <float.h> #include <math.h> diff --git a/lib/libm/src/e_cosh.c b/lib/libm/src/e_cosh.c index 030b6b4d9a1..d316b73cad2 100644 --- a/lib/libm/src/e_cosh.c +++ b/lib/libm/src/e_cosh.c @@ -33,7 +33,6 @@ * only cosh(0)=1 is exact for finite x. */ -#include <sys/cdefs.h> #include <float.h> #include <math.h> diff --git a/lib/libm/src/e_exp.c b/lib/libm/src/e_exp.c index a9a4fcb40b8..432855fbaf6 100644 --- a/lib/libm/src/e_exp.c +++ b/lib/libm/src/e_exp.c @@ -75,7 +75,6 @@ * to produce the hexadecimal values shown. */ -#include <sys/cdefs.h> #include <float.h> #include <math.h> diff --git a/lib/libm/src/e_fmod.c b/lib/libm/src/e_fmod.c index 36cc8e81cd8..ebda40a9fa3 100644 --- a/lib/libm/src/e_fmod.c +++ b/lib/libm/src/e_fmod.c @@ -18,7 +18,6 @@ * Method: shift and subtract */ -#include <sys/cdefs.h> #include <float.h> #include <math.h> diff --git a/lib/libm/src/e_hypot.c b/lib/libm/src/e_hypot.c index 011cd47aa57..3f15b8a54e5 100644 --- a/lib/libm/src/e_hypot.c +++ b/lib/libm/src/e_hypot.c @@ -44,7 +44,6 @@ * than 1 ulps (units in the last place) */ -#include <sys/cdefs.h> #include <float.h> #include <math.h> diff --git a/lib/libm/src/e_log.c b/lib/libm/src/e_log.c index 94b3a2aead9..8a7049e2aa0 100644 --- a/lib/libm/src/e_log.c +++ b/lib/libm/src/e_log.c @@ -63,7 +63,6 @@ * to produce the hexadecimal values shown. */ -#include <sys/cdefs.h> #include <float.h> #include <math.h> diff --git a/lib/libm/src/e_log10.c b/lib/libm/src/e_log10.c index a4178648a1d..291c34e2141 100644 --- a/lib/libm/src/e_log10.c +++ b/lib/libm/src/e_log10.c @@ -45,7 +45,6 @@ * shown. */ -#include <sys/cdefs.h> #include <float.h> #include <math.h> diff --git a/lib/libm/src/e_log2.c b/lib/libm/src/e_log2.c index 89ed4a774ea..9692e61edb9 100644 --- a/lib/libm/src/e_log2.c +++ b/lib/libm/src/e_log2.c @@ -12,7 +12,6 @@ /* LINTLIBRARY */ -#include <sys/cdefs.h> #include <float.h> #include <math.h> diff --git a/lib/libm/src/e_pow.c b/lib/libm/src/e_pow.c index e342119e9a4..59a885ce2d5 100644 --- a/lib/libm/src/e_pow.c +++ b/lib/libm/src/e_pow.c @@ -57,7 +57,6 @@ * to produce the hexadecimal values shown. */ -#include <sys/cdefs.h> #include <float.h> #include <math.h> diff --git a/lib/libm/src/e_remainder.c b/lib/libm/src/e_remainder.c index 2a9fbc8eb8a..e25590afa0b 100644 --- a/lib/libm/src/e_remainder.c +++ b/lib/libm/src/e_remainder.c @@ -21,7 +21,6 @@ * Based on fmod() return x-[x/p]chopped*p exactlp. */ -#include <sys/cdefs.h> #include <float.h> #include <math.h> diff --git a/lib/libm/src/e_sinh.c b/lib/libm/src/e_sinh.c index 3c7d1da237e..91bd7c383ca 100644 --- a/lib/libm/src/e_sinh.c +++ b/lib/libm/src/e_sinh.c @@ -30,7 +30,6 @@ * only sinh(0)=0 is exact for finite x. */ -#include <sys/cdefs.h> #include <float.h> #include <math.h> diff --git a/lib/libm/src/e_sqrt.c b/lib/libm/src/e_sqrt.c index d758e0ff4ca..22361dcf2bb 100644 --- a/lib/libm/src/e_sqrt.c +++ b/lib/libm/src/e_sqrt.c @@ -82,7 +82,6 @@ /* LINTLIBRARY */ -#include <sys/cdefs.h> #include <float.h> #include <math.h> diff --git a/lib/libm/src/ld128/s_cbrtl.c b/lib/libm/src/ld128/s_cbrtl.c index ad3f273e1f6..9292984dbef 100644 --- a/lib/libm/src/ld128/s_cbrtl.c +++ b/lib/libm/src/ld128/s_cbrtl.c @@ -14,11 +14,6 @@ * and David A. Schultz. */ -#include <sys/cdefs.h> -#if 0 -__FBSDID("$FreeBSD: src/lib/msun/src/s_cbrtl.c,v 1.1 2011/03/12 19:37:35 kargl Exp $"); -#endif - #include <float.h> #include <ieeefp.h> #include <math.h> diff --git a/lib/libm/src/ld128/s_nextafterl.c b/lib/libm/src/ld128/s_nextafterl.c index 2ef84bcc9c0..c1a703c80b3 100644 --- a/lib/libm/src/ld128/s_nextafterl.c +++ b/lib/libm/src/ld128/s_nextafterl.c @@ -17,7 +17,6 @@ * Special cases: */ -#include <sys/cdefs.h> #include <math.h> #include "math_private.h" diff --git a/lib/libm/src/ld128/s_remquol.c b/lib/libm/src/ld128/s_remquol.c index 3a5087b46b2..ee7a7131137 100644 --- a/lib/libm/src/ld128/s_remquol.c +++ b/lib/libm/src/ld128/s_remquol.c @@ -10,11 +10,6 @@ * ==================================================== */ -#include <sys/cdefs.h> -#if 0 -__FBSDID("$FreeBSD: src/lib/msun/src/s_remquol.c,v 1.2 2008/07/31 20:09:47 das Exp $"); -#endif - #include <sys/types.h> #include <machine/ieee.h> diff --git a/lib/libm/src/ld128/s_truncl.c b/lib/libm/src/ld128/s_truncl.c index 435d527a480..fce5b6ced11 100644 --- a/lib/libm/src/ld128/s_truncl.c +++ b/lib/libm/src/ld128/s_truncl.c @@ -11,11 +11,6 @@ * From: @(#)s_floor.c 5.1 93/09/24 */ -#include <sys/cdefs.h> -#if 0 -__FBSDID("$FreeBSD: src/lib/msun/src/s_truncl.c,v 1.9 2008/02/14 15:10:34 bde Exp $"); -#endif - /* * truncl(x) * Return x rounded toward 0 to integral value diff --git a/lib/libm/src/ld80/e_fmodl.c b/lib/libm/src/ld80/e_fmodl.c index 68034cb771e..a7cf3472a9f 100644 --- a/lib/libm/src/ld80/e_fmodl.c +++ b/lib/libm/src/ld80/e_fmodl.c @@ -10,11 +10,6 @@ * ==================================================== */ -#include <sys/cdefs.h> -#if 0 -__FBSDID("$FreeBSD: src/lib/msun/src/e_fmodl.c,v 1.2 2008/07/31 20:09:47 das Exp $"); -#endif - #include <sys/types.h> #include <machine/ieee.h> diff --git a/lib/libm/src/ld80/s_cbrtl.c b/lib/libm/src/ld80/s_cbrtl.c index ae06387a94b..41a50f329f5 100644 --- a/lib/libm/src/ld80/s_cbrtl.c +++ b/lib/libm/src/ld80/s_cbrtl.c @@ -14,11 +14,6 @@ * and David A. Schultz. */ -#include <sys/cdefs.h> -#if 0 -__FBSDID("$FreeBSD: src/lib/msun/src/s_cbrtl.c,v 1.1 2011/03/12 19:37:35 kargl Exp $"); -#endif - #include <float.h> #include <ieeefp.h> #include <math.h> diff --git a/lib/libm/src/ld80/s_nextafterl.c b/lib/libm/src/ld80/s_nextafterl.c index 80f0118c178..c1b984bb5bf 100644 --- a/lib/libm/src/ld80/s_nextafterl.c +++ b/lib/libm/src/ld80/s_nextafterl.c @@ -17,7 +17,6 @@ * Special cases: */ -#include <sys/cdefs.h> #include <math.h> #include "math_private.h" diff --git a/lib/libm/src/ld80/s_remquol.c b/lib/libm/src/ld80/s_remquol.c index 8b2ddd362ae..244c1053f17 100644 --- a/lib/libm/src/ld80/s_remquol.c +++ b/lib/libm/src/ld80/s_remquol.c @@ -10,11 +10,6 @@ * ==================================================== */ -#include <sys/cdefs.h> -#if 0 -__FBSDID("$FreeBSD: src/lib/msun/src/s_remquol.c,v 1.2 2008/07/31 20:09:47 das Exp $"); -#endif - #include <sys/types.h> #include <machine/ieee.h> diff --git a/lib/libm/src/ld80/s_truncl.c b/lib/libm/src/ld80/s_truncl.c index 63cccf260ec..3d8a1a5e243 100644 --- a/lib/libm/src/ld80/s_truncl.c +++ b/lib/libm/src/ld80/s_truncl.c @@ -11,11 +11,6 @@ * From: @(#)s_floor.c 5.1 93/09/24 */ -#include <sys/cdefs.h> -#if 0 -__FBSDID("$FreeBSD: src/lib/msun/src/s_truncl.c,v 1.9 2008/02/14 15:10:34 bde Exp $"); -#endif - /* * truncl(x) * Return x rounded toward 0 to integral value diff --git a/lib/libm/src/s_asinh.c b/lib/libm/src/s_asinh.c index 2899d4c2cd6..068aebeba63 100644 --- a/lib/libm/src/s_asinh.c +++ b/lib/libm/src/s_asinh.c @@ -23,7 +23,6 @@ * := sign(x)*log1p(|x| + x^2/(1 + sqrt(1+x^2))) */ -#include <sys/cdefs.h> #include <float.h> #include <math.h> diff --git a/lib/libm/src/s_atan.c b/lib/libm/src/s_atan.c index 36f64bdee0d..fe55bd5b4c7 100644 --- a/lib/libm/src/s_atan.c +++ b/lib/libm/src/s_atan.c @@ -32,7 +32,6 @@ /* LINTLIBRARY */ -#include <sys/cdefs.h> #include <float.h> #include <math.h> diff --git a/lib/libm/src/s_cabs.c b/lib/libm/src/s_cabs.c index 3d28fd4de64..ab3ea9c76c3 100644 --- a/lib/libm/src/s_cabs.c +++ b/lib/libm/src/s_cabs.c @@ -1,4 +1,4 @@ -/* $OpenBSD: s_cabs.c,v 1.2 2011/07/08 19:25:31 martynas Exp $ */ +/* $OpenBSD: s_cabs.c,v 1.3 2012/12/05 23:20:04 deraadt Exp $ */ /* * Copyright (c) 2008 Martynas Venckus <martynas@openbsd.org> * @@ -17,7 +17,6 @@ /* LINTLIBRARY */ -#include <sys/cdefs.h> #include <complex.h> #include <float.h> #include <math.h> diff --git a/lib/libm/src/s_cacos.c b/lib/libm/src/s_cacos.c index 1ff40d4f858..b1cc86c439d 100644 --- a/lib/libm/src/s_cacos.c +++ b/lib/libm/src/s_cacos.c @@ -1,4 +1,4 @@ -/* $OpenBSD: s_cacos.c,v 1.2 2011/07/08 19:25:31 martynas Exp $ */ +/* $OpenBSD: s_cacos.c,v 1.3 2012/12/05 23:20:04 deraadt Exp $ */ /* * Copyright (c) 2008 Stephen L. Moshier <steve@moshier.net> * @@ -48,7 +48,6 @@ * IEEE -10,+10 30000 1.8e-14 2.2e-15 */ -#include <sys/cdefs.h> #include <complex.h> #include <float.h> #include <math.h> diff --git a/lib/libm/src/s_cacosh.c b/lib/libm/src/s_cacosh.c index 8db79ddc0b2..2adaa7bbbdf 100644 --- a/lib/libm/src/s_cacosh.c +++ b/lib/libm/src/s_cacosh.c @@ -1,4 +1,4 @@ -/* $OpenBSD: s_cacosh.c,v 1.2 2011/07/08 19:25:31 martynas Exp $ */ +/* $OpenBSD: s_cacosh.c,v 1.3 2012/12/05 23:20:04 deraadt Exp $ */ /* * Copyright (c) 2008 Stephen L. Moshier <steve@moshier.net> * @@ -44,7 +44,6 @@ * */ -#include <sys/cdefs.h> #include <complex.h> #include <float.h> #include <math.h> diff --git a/lib/libm/src/s_carg.c b/lib/libm/src/s_carg.c index 08f321c36ab..4134faf042c 100644 --- a/lib/libm/src/s_carg.c +++ b/lib/libm/src/s_carg.c @@ -1,4 +1,4 @@ -/* $OpenBSD: s_carg.c,v 1.2 2011/07/08 19:25:31 martynas Exp $ */ +/* $OpenBSD: s_carg.c,v 1.3 2012/12/05 23:20:04 deraadt Exp $ */ /* * Copyright (c) 2008 Martynas Venckus <martynas@openbsd.org> * @@ -17,7 +17,6 @@ /* LINTLIBRARY */ -#include <sys/cdefs.h> #include <complex.h> #include <float.h> #include <math.h> diff --git a/lib/libm/src/s_casin.c b/lib/libm/src/s_casin.c index 64ebe6bb7a8..9ca3008f863 100644 --- a/lib/libm/src/s_casin.c +++ b/lib/libm/src/s_casin.c @@ -1,4 +1,4 @@ -/* $OpenBSD: s_casin.c,v 1.2 2011/07/08 19:25:31 martynas Exp $ */ +/* $OpenBSD: s_casin.c,v 1.3 2012/12/05 23:20:04 deraadt Exp $ */ /* * Copyright (c) 2008 Stephen L. Moshier <steve@moshier.net> * @@ -51,7 +51,6 @@ * Also tested by csin(casin(z)) = z. */ -#include <sys/cdefs.h> #include <complex.h> #include <float.h> #include <math.h> diff --git a/lib/libm/src/s_casinh.c b/lib/libm/src/s_casinh.c index 8f1f02fa54a..974d49ad06d 100644 --- a/lib/libm/src/s_casinh.c +++ b/lib/libm/src/s_casinh.c @@ -1,4 +1,4 @@ -/* $OpenBSD: s_casinh.c,v 1.2 2011/07/08 19:25:31 martynas Exp $ */ +/* $OpenBSD: s_casinh.c,v 1.3 2012/12/05 23:20:04 deraadt Exp $ */ /* * Copyright (c) 2008 Stephen L. Moshier <steve@moshier.net> * @@ -44,7 +44,6 @@ * */ -#include <sys/cdefs.h> #include <complex.h> #include <float.h> #include <math.h> diff --git a/lib/libm/src/s_catan.c b/lib/libm/src/s_catan.c index 78861b2f929..fc7099b7259 100644 --- a/lib/libm/src/s_catan.c +++ b/lib/libm/src/s_catan.c @@ -1,4 +1,4 @@ -/* $OpenBSD: s_catan.c,v 1.2 2011/07/08 19:25:31 martynas Exp $ */ +/* $OpenBSD: s_catan.c,v 1.3 2012/12/05 23:20:04 deraadt Exp $ */ /* * Copyright (c) 2008 Stephen L. Moshier <steve@moshier.net> * @@ -64,7 +64,6 @@ * 2.9e-17. See also clog(). */ -#include <sys/cdefs.h> #include <complex.h> #include <float.h> #include <math.h> diff --git a/lib/libm/src/s_catanh.c b/lib/libm/src/s_catanh.c index 7b23934b0fe..726137ebea4 100644 --- a/lib/libm/src/s_catanh.c +++ b/lib/libm/src/s_catanh.c @@ -1,4 +1,4 @@ -/* $OpenBSD: s_catanh.c,v 1.2 2011/07/08 19:25:31 martynas Exp $ */ +/* $OpenBSD: s_catanh.c,v 1.3 2012/12/05 23:20:04 deraadt Exp $ */ /* * Copyright (c) 2008 Stephen L. Moshier <steve@moshier.net> * @@ -44,7 +44,6 @@ * */ -#include <sys/cdefs.h> #include <complex.h> #include <float.h> #include <math.h> diff --git a/lib/libm/src/s_cbrt.c b/lib/libm/src/s_cbrt.c index 2ec4378d096..f16d6c7da9c 100644 --- a/lib/libm/src/s_cbrt.c +++ b/lib/libm/src/s_cbrt.c @@ -12,7 +12,6 @@ /* LINTLIBRARY */ -#include <sys/cdefs.h> #include <float.h> #include <math.h> diff --git a/lib/libm/src/s_ccos.c b/lib/libm/src/s_ccos.c index 7152bc14253..da2cc009002 100644 --- a/lib/libm/src/s_ccos.c +++ b/lib/libm/src/s_ccos.c @@ -1,4 +1,4 @@ -/* $OpenBSD: s_ccos.c,v 1.2 2011/07/08 19:25:31 martynas Exp $ */ +/* $OpenBSD: s_ccos.c,v 1.3 2012/12/05 23:20:04 deraadt Exp $ */ /* * Copyright (c) 2008 Stephen L. Moshier <steve@moshier.net> * @@ -51,7 +51,6 @@ * IEEE -10,+10 30000 3.8e-16 1.0e-16 */ -#include <sys/cdefs.h> #include <complex.h> #include <float.h> #include <math.h> diff --git a/lib/libm/src/s_ccosh.c b/lib/libm/src/s_ccosh.c index 3e780e976f0..1b3216caa6d 100644 --- a/lib/libm/src/s_ccosh.c +++ b/lib/libm/src/s_ccosh.c @@ -1,4 +1,4 @@ -/* $OpenBSD: s_ccosh.c,v 1.2 2011/07/08 19:25:31 martynas Exp $ */ +/* $OpenBSD: s_ccosh.c,v 1.3 2012/12/05 23:20:04 deraadt Exp $ */ /* * Copyright (c) 2008 Stephen L. Moshier <steve@moshier.net> * @@ -44,7 +44,6 @@ * */ -#include <sys/cdefs.h> #include <complex.h> #include <float.h> #include <math.h> diff --git a/lib/libm/src/s_ceil.c b/lib/libm/src/s_ceil.c index 3825377c4d7..b927f35ce27 100644 --- a/lib/libm/src/s_ceil.c +++ b/lib/libm/src/s_ceil.c @@ -21,7 +21,6 @@ * Inexact flag raised if x not equal to ceil(x). */ -#include <sys/cdefs.h> #include <float.h> #include <math.h> diff --git a/lib/libm/src/s_cexp.c b/lib/libm/src/s_cexp.c index 14a43270f52..3febe08049f 100644 --- a/lib/libm/src/s_cexp.c +++ b/lib/libm/src/s_cexp.c @@ -1,4 +1,4 @@ -/* $OpenBSD: s_cexp.c,v 1.2 2011/07/08 19:25:31 martynas Exp $ */ +/* $OpenBSD: s_cexp.c,v 1.3 2012/12/05 23:20:04 deraadt Exp $ */ /* * Copyright (c) 2008 Stephen L. Moshier <steve@moshier.net> * @@ -55,7 +55,6 @@ * */ -#include <sys/cdefs.h> #include <complex.h> #include <float.h> #include <math.h> diff --git a/lib/libm/src/s_cimag.c b/lib/libm/src/s_cimag.c index d03a6186e76..f5b2f774e44 100644 --- a/lib/libm/src/s_cimag.c +++ b/lib/libm/src/s_cimag.c @@ -1,4 +1,4 @@ -/* $OpenBSD: s_cimag.c,v 1.2 2011/07/08 19:25:31 martynas Exp $ */ +/* $OpenBSD: s_cimag.c,v 1.3 2012/12/05 23:20:04 deraadt Exp $ */ /* * Copyright (c) 2008 Martynas Venckus <martynas@openbsd.org> * @@ -17,7 +17,6 @@ /* LINTLIBRARY */ -#include <sys/cdefs.h> #include <complex.h> #include <float.h> #include <math.h> diff --git a/lib/libm/src/s_clog.c b/lib/libm/src/s_clog.c index ce806269bfb..576c92fbf3b 100644 --- a/lib/libm/src/s_clog.c +++ b/lib/libm/src/s_clog.c @@ -1,4 +1,4 @@ -/* $OpenBSD: s_clog.c,v 1.2 2011/07/08 19:25:31 martynas Exp $ */ +/* $OpenBSD: s_clog.c,v 1.3 2012/12/05 23:20:04 deraadt Exp $ */ /* * Copyright (c) 2008 Stephen L. Moshier <steve@moshier.net> * @@ -56,7 +56,6 @@ * absolute error 1.0e-16. */ -#include <sys/cdefs.h> #include <complex.h> #include <float.h> #include <math.h> diff --git a/lib/libm/src/s_conj.c b/lib/libm/src/s_conj.c index 0ffb990a831..92841550003 100644 --- a/lib/libm/src/s_conj.c +++ b/lib/libm/src/s_conj.c @@ -1,4 +1,4 @@ -/* $OpenBSD: s_conj.c,v 1.2 2011/07/08 19:25:31 martynas Exp $ */ +/* $OpenBSD: s_conj.c,v 1.3 2012/12/05 23:20:04 deraadt Exp $ */ /* * Copyright (c) 2008 Martynas Venckus <martynas@openbsd.org> * @@ -17,7 +17,6 @@ /* LINTLIBRARY */ -#include <sys/cdefs.h> #include <complex.h> #include <float.h> #include <math.h> diff --git a/lib/libm/src/s_copysign.c b/lib/libm/src/s_copysign.c index 73b3234cfc0..4cb7b519440 100644 --- a/lib/libm/src/s_copysign.c +++ b/lib/libm/src/s_copysign.c @@ -18,7 +18,6 @@ /* LINTLIBRARY */ -#include <sys/cdefs.h> #include <float.h> #include <math.h> diff --git a/lib/libm/src/s_cos.c b/lib/libm/src/s_cos.c index 50475de7fa4..dcabc7ae0e2 100644 --- a/lib/libm/src/s_cos.c +++ b/lib/libm/src/s_cos.c @@ -43,7 +43,6 @@ /* LINTLIBRARY */ -#include <sys/cdefs.h> #include <float.h> #include <math.h> diff --git a/lib/libm/src/s_cpow.c b/lib/libm/src/s_cpow.c index a0327118e35..d0dfca83e81 100644 --- a/lib/libm/src/s_cpow.c +++ b/lib/libm/src/s_cpow.c @@ -1,4 +1,4 @@ -/* $OpenBSD: s_cpow.c,v 1.2 2011/07/08 19:25:31 martynas Exp $ */ +/* $OpenBSD: s_cpow.c,v 1.3 2012/12/05 23:20:04 deraadt Exp $ */ /* * Copyright (c) 2008 Stephen L. Moshier <steve@moshier.net> * @@ -46,7 +46,6 @@ * */ -#include <sys/cdefs.h> #include <complex.h> #include <float.h> #include <math.h> diff --git a/lib/libm/src/s_cproj.c b/lib/libm/src/s_cproj.c index 543290a08c2..7fa2dbc2e3f 100644 --- a/lib/libm/src/s_cproj.c +++ b/lib/libm/src/s_cproj.c @@ -1,4 +1,4 @@ -/* $OpenBSD: s_cproj.c,v 1.3 2011/07/08 19:25:31 martynas Exp $ */ +/* $OpenBSD: s_cproj.c,v 1.4 2012/12/05 23:20:04 deraadt Exp $ */ /* * Copyright (c) 2008 Martynas Venckus <martynas@openbsd.org> * @@ -17,7 +17,6 @@ /* LINTLIBRARY */ -#include <sys/cdefs.h> #include <complex.h> #include <float.h> #include <math.h> diff --git a/lib/libm/src/s_creal.c b/lib/libm/src/s_creal.c index a45941534cc..60f73901053 100644 --- a/lib/libm/src/s_creal.c +++ b/lib/libm/src/s_creal.c @@ -1,4 +1,4 @@ -/* $OpenBSD: s_creal.c,v 1.2 2011/07/08 19:25:31 martynas Exp $ */ +/* $OpenBSD: s_creal.c,v 1.3 2012/12/05 23:20:04 deraadt Exp $ */ /* * Copyright (c) 2008 Martynas Venckus <martynas@openbsd.org> * @@ -17,7 +17,6 @@ /* LINTLIBRARY */ -#include <sys/cdefs.h> #include <complex.h> #include <float.h> #include <math.h> diff --git a/lib/libm/src/s_csin.c b/lib/libm/src/s_csin.c index 44f7d925148..be10087327d 100644 --- a/lib/libm/src/s_csin.c +++ b/lib/libm/src/s_csin.c @@ -1,4 +1,4 @@ -/* $OpenBSD: s_csin.c,v 1.2 2011/07/08 19:25:31 martynas Exp $ */ +/* $OpenBSD: s_csin.c,v 1.3 2012/12/05 23:20:04 deraadt Exp $ */ /* * Copyright (c) 2008 Stephen L. Moshier <steve@moshier.net> * @@ -53,7 +53,6 @@ * */ -#include <sys/cdefs.h> #include <complex.h> #include <float.h> #include <math.h> diff --git a/lib/libm/src/s_csinh.c b/lib/libm/src/s_csinh.c index 83ee14be7b8..0aa4d5cb7e4 100644 --- a/lib/libm/src/s_csinh.c +++ b/lib/libm/src/s_csinh.c @@ -1,4 +1,4 @@ -/* $OpenBSD: s_csinh.c,v 1.2 2011/07/08 19:25:31 martynas Exp $ */ +/* $OpenBSD: s_csinh.c,v 1.3 2012/12/05 23:20:04 deraadt Exp $ */ /* * Copyright (c) 2008 Stephen L. Moshier <steve@moshier.net> * @@ -43,7 +43,6 @@ * */ -#include <sys/cdefs.h> #include <complex.h> #include <float.h> #include <math.h> diff --git a/lib/libm/src/s_csqrt.c b/lib/libm/src/s_csqrt.c index 700c17dd533..c1cbcfe38e5 100644 --- a/lib/libm/src/s_csqrt.c +++ b/lib/libm/src/s_csqrt.c @@ -1,4 +1,4 @@ -/* $OpenBSD: s_csqrt.c,v 1.2 2011/07/08 19:25:31 martynas Exp $ */ +/* $OpenBSD: s_csqrt.c,v 1.3 2012/12/05 23:20:04 deraadt Exp $ */ /* * Copyright (c) 2008 Stephen L. Moshier <steve@moshier.net> * @@ -60,7 +60,6 @@ * */ -#include <sys/cdefs.h> #include <complex.h> #include <float.h> #include <math.h> diff --git a/lib/libm/src/s_ctan.c b/lib/libm/src/s_ctan.c index c98dd50b38c..0b635235336 100644 --- a/lib/libm/src/s_ctan.c +++ b/lib/libm/src/s_ctan.c @@ -1,4 +1,4 @@ -/* $OpenBSD: s_ctan.c,v 1.2 2011/07/08 19:25:31 martynas Exp $ */ +/* $OpenBSD: s_ctan.c,v 1.3 2012/12/05 23:20:04 deraadt Exp $ */ /* * Copyright (c) 2008 Stephen L. Moshier <steve@moshier.net> * @@ -58,7 +58,6 @@ * Also tested by ctan * ccot = 1 and catan(ctan(z)) = z. */ -#include <sys/cdefs.h> #include <complex.h> #include <float.h> #include <math.h> diff --git a/lib/libm/src/s_ctanh.c b/lib/libm/src/s_ctanh.c index 0b0bcb2ac02..a0d508b1087 100644 --- a/lib/libm/src/s_ctanh.c +++ b/lib/libm/src/s_ctanh.c @@ -1,4 +1,4 @@ -/* $OpenBSD: s_ctanh.c,v 1.2 2011/07/08 19:25:31 martynas Exp $ */ +/* $OpenBSD: s_ctanh.c,v 1.3 2012/12/05 23:20:04 deraadt Exp $ */ /* * Copyright (c) 2008 Stephen L. Moshier <steve@moshier.net> * @@ -44,7 +44,6 @@ * */ -#include <sys/cdefs.h> #include <complex.h> #include <float.h> #include <math.h> diff --git a/lib/libm/src/s_erf.c b/lib/libm/src/s_erf.c index 619e3ea0e33..9caca5cf697 100644 --- a/lib/libm/src/s_erf.c +++ b/lib/libm/src/s_erf.c @@ -106,7 +106,6 @@ * erfc/erf(NaN) is NaN */ -#include <sys/cdefs.h> #include <float.h> #include <math.h> diff --git a/lib/libm/src/s_exp2.c b/lib/libm/src/s_exp2.c index 95d0408c6d8..807eb2a72d0 100644 --- a/lib/libm/src/s_exp2.c +++ b/lib/libm/src/s_exp2.c @@ -1,4 +1,4 @@ -/* $OpenBSD: s_exp2.c,v 1.3 2011/05/30 18:34:38 martynas Exp $ */ +/* $OpenBSD: s_exp2.c,v 1.4 2012/12/05 23:20:04 deraadt Exp $ */ /*- * Copyright (c) 2005 David Schultz <das@FreeBSD.ORG> * All rights reserved. @@ -27,7 +27,6 @@ /* LINTLIBRARY */ -#include <sys/cdefs.h> #include <float.h> #include <math.h> diff --git a/lib/libm/src/s_exp2f.c b/lib/libm/src/s_exp2f.c index 3ed3e6c209d..6319b11c1a3 100644 --- a/lib/libm/src/s_exp2f.c +++ b/lib/libm/src/s_exp2f.c @@ -1,4 +1,4 @@ -/* $OpenBSD: s_exp2f.c,v 1.1 2008/07/24 09:40:16 martynas Exp $ */ +/* $OpenBSD: s_exp2f.c,v 1.2 2012/12/05 23:20:04 deraadt Exp $ */ /*- * Copyright (c) 2005 David Schultz <das@FreeBSD.ORG> * All rights reserved. @@ -25,7 +25,6 @@ * SUCH DAMAGE. */ -#include <sys/cdefs.h> #include <float.h> #include "math.h" diff --git a/lib/libm/src/s_expm1.c b/lib/libm/src/s_expm1.c index 8d391c2dd8f..a201550032a 100644 --- a/lib/libm/src/s_expm1.c +++ b/lib/libm/src/s_expm1.c @@ -107,7 +107,6 @@ * to produce the hexadecimal values shown. */ -#include <sys/cdefs.h> #include <float.h> #include <math.h> diff --git a/lib/libm/src/s_fdim.c b/lib/libm/src/s_fdim.c index 12fb1382462..58d54366de5 100644 --- a/lib/libm/src/s_fdim.c +++ b/lib/libm/src/s_fdim.c @@ -1,4 +1,4 @@ -/* $OpenBSD: s_fdim.c,v 1.4 2009/10/26 21:06:19 kettenis Exp $ */ +/* $OpenBSD: s_fdim.c,v 1.5 2012/12/05 23:20:04 deraadt Exp $ */ /*- * Copyright (c) 2004 David Schultz <das@FreeBSD.ORG> * All rights reserved. @@ -25,7 +25,6 @@ * SUCH DAMAGE. */ -#include <sys/cdefs.h> #include <float.h> #include <math.h> diff --git a/lib/libm/src/s_floor.c b/lib/libm/src/s_floor.c index 3717861b914..439cac80782 100644 --- a/lib/libm/src/s_floor.c +++ b/lib/libm/src/s_floor.c @@ -21,7 +21,6 @@ * Inexact flag raised if x not equal to floor(x). */ -#include <sys/cdefs.h> #include <float.h> #include <math.h> diff --git a/lib/libm/src/s_fma.c b/lib/libm/src/s_fma.c index 7f22094e268..ffdd36bf6b3 100644 --- a/lib/libm/src/s_fma.c +++ b/lib/libm/src/s_fma.c @@ -1,4 +1,4 @@ -/* $OpenBSD: s_fma.c,v 1.1 2011/07/06 00:02:42 martynas Exp $ */ +/* $OpenBSD: s_fma.c,v 1.2 2012/12/05 23:20:04 deraadt Exp $ */ /*- * Copyright (c) 2005 David Schultz <das@FreeBSD.ORG> @@ -28,11 +28,6 @@ /* LINTLIBRARY */ -#include <sys/cdefs.h> -#if 0 -__FBSDID("$FreeBSD: src/lib/msun/src/s_fma.c,v 1.5 2008/04/03 06:14:51 das Exp $"); -#endif - #include <fenv.h> #include <float.h> #include <math.h> diff --git a/lib/libm/src/s_fmaf.c b/lib/libm/src/s_fmaf.c index 172f270b058..5bd4022148f 100644 --- a/lib/libm/src/s_fmaf.c +++ b/lib/libm/src/s_fmaf.c @@ -1,4 +1,4 @@ -/* $OpenBSD: s_fmaf.c,v 1.1 2011/07/06 00:02:42 martynas Exp $ */ +/* $OpenBSD: s_fmaf.c,v 1.2 2012/12/05 23:20:04 deraadt Exp $ */ /*- * Copyright (c) 2005 David Schultz <das@FreeBSD.ORG> @@ -26,11 +26,6 @@ * SUCH DAMAGE. */ -#include <sys/cdefs.h> -#if 0 -__FBSDID("$FreeBSD: src/lib/msun/src/s_fmaf.c,v 1.2 2008/03/29 16:38:29 das Exp $"); -#endif - #include <math.h> /* diff --git a/lib/libm/src/s_fmal.c b/lib/libm/src/s_fmal.c index e8bb1c2848c..6bac0df8a35 100644 --- a/lib/libm/src/s_fmal.c +++ b/lib/libm/src/s_fmal.c @@ -1,4 +1,4 @@ -/* $OpenBSD: s_fmal.c,v 1.1 2011/07/06 00:02:42 martynas Exp $ */ +/* $OpenBSD: s_fmal.c,v 1.2 2012/12/05 23:20:04 deraadt Exp $ */ /*- * Copyright (c) 2005 David Schultz <das@FreeBSD.ORG> @@ -26,11 +26,6 @@ * SUCH DAMAGE. */ -#include <sys/cdefs.h> -#if 0 -__FBSDID("$FreeBSD: src/lib/msun/src/s_fmal.c,v 1.4 2008/04/03 06:14:51 das Exp $"); -#endif - #include <fenv.h> #include <float.h> #include <math.h> diff --git a/lib/libm/src/s_fmax.c b/lib/libm/src/s_fmax.c index fb94abe12e7..8af710d70ae 100644 --- a/lib/libm/src/s_fmax.c +++ b/lib/libm/src/s_fmax.c @@ -1,4 +1,4 @@ -/* $OpenBSD: s_fmax.c,v 1.5 2011/05/30 18:34:38 martynas Exp $ */ +/* $OpenBSD: s_fmax.c,v 1.6 2012/12/05 23:20:04 deraadt Exp $ */ /*- * Copyright (c) 2004 David Schultz <das@FreeBSD.ORG> * All rights reserved. @@ -27,7 +27,6 @@ /* LINTLIBRARY */ -#include <sys/cdefs.h> #include <float.h> #include <math.h> diff --git a/lib/libm/src/s_fmin.c b/lib/libm/src/s_fmin.c index d735aa7da7e..af2ec3f73ef 100644 --- a/lib/libm/src/s_fmin.c +++ b/lib/libm/src/s_fmin.c @@ -1,4 +1,4 @@ -/* $OpenBSD: s_fmin.c,v 1.5 2011/05/30 18:34:38 martynas Exp $ */ +/* $OpenBSD: s_fmin.c,v 1.6 2012/12/05 23:20:04 deraadt Exp $ */ /*- * Copyright (c) 2004 David Schultz <das@FreeBSD.ORG> * All rights reserved. @@ -27,7 +27,6 @@ /* LINTLIBRARY */ -#include <sys/cdefs.h> #include <float.h> #include <math.h> diff --git a/lib/libm/src/s_ilogb.c b/lib/libm/src/s_ilogb.c index a700a3dce99..8e263b6dc64 100644 --- a/lib/libm/src/s_ilogb.c +++ b/lib/libm/src/s_ilogb.c @@ -18,7 +18,6 @@ /* LINTLIBRARY */ -#include <sys/cdefs.h> #include <float.h> #include <math.h> diff --git a/lib/libm/src/s_log1p.c b/lib/libm/src/s_log1p.c index 2fbe0a9bed5..9e387df9c72 100644 --- a/lib/libm/src/s_log1p.c +++ b/lib/libm/src/s_log1p.c @@ -77,7 +77,6 @@ * See HP-15C Advanced Functions Handbook, p.193. */ -#include <sys/cdefs.h> #include <float.h> #include <math.h> diff --git a/lib/libm/src/s_lrintl.c b/lib/libm/src/s_lrintl.c index 66f699c8116..6c8fd6b31af 100644 --- a/lib/libm/src/s_lrintl.c +++ b/lib/libm/src/s_lrintl.c @@ -1,4 +1,4 @@ -/* $OpenBSD: s_lrintl.c,v 1.1 2011/07/06 00:02:42 martynas Exp $ */ +/* $OpenBSD: s_lrintl.c,v 1.2 2012/12/05 23:20:04 deraadt Exp $ */ /*- * Copyright (c) 2005 David Schultz <das@FreeBSD.ORG> @@ -26,7 +26,6 @@ * SUCH DAMAGE. */ -#include <sys/cdefs.h> #include <fenv.h> #include <math.h> diff --git a/lib/libm/src/s_lroundl.c b/lib/libm/src/s_lroundl.c index ca24910866b..a82c7d3e900 100644 --- a/lib/libm/src/s_lroundl.c +++ b/lib/libm/src/s_lroundl.c @@ -1,4 +1,4 @@ -/* $OpenBSD: s_lroundl.c,v 1.1 2011/07/06 00:02:42 martynas Exp $ */ +/* $OpenBSD: s_lroundl.c,v 1.2 2012/12/05 23:20:04 deraadt Exp $ */ /*- * Copyright (c) 2005 David Schultz <das@FreeBSD.ORG> @@ -26,7 +26,6 @@ * SUCH DAMAGE. */ -#include <sys/cdefs.h> #include <sys/limits.h> #include <fenv.h> #include <math.h> diff --git a/lib/libm/src/s_nan.c b/lib/libm/src/s_nan.c index b3b4b523afc..4f2fadd3419 100644 --- a/lib/libm/src/s_nan.c +++ b/lib/libm/src/s_nan.c @@ -1,4 +1,4 @@ -/* $OpenBSD: s_nan.c,v 1.7 2011/05/30 18:34:38 martynas Exp $ */ +/* $OpenBSD: s_nan.c,v 1.8 2012/12/05 23:20:04 deraadt Exp $ */ /*- * Copyright (c) 2007 David Schultz * All rights reserved. @@ -29,7 +29,6 @@ /* LINTLIBRARY */ -#include <sys/cdefs.h> #include <sys/types.h> #include <sys/endian.h> #include <ctype.h> diff --git a/lib/libm/src/s_nextafter.c b/lib/libm/src/s_nextafter.c index ead67afd86c..a3fb9797a0c 100644 --- a/lib/libm/src/s_nextafter.c +++ b/lib/libm/src/s_nextafter.c @@ -19,7 +19,6 @@ * Special cases: */ -#include <sys/cdefs.h> #include <float.h> #include <math.h> diff --git a/lib/libm/src/s_remquo.c b/lib/libm/src/s_remquo.c index 1c00f104b3e..42285213033 100644 --- a/lib/libm/src/s_remquo.c +++ b/lib/libm/src/s_remquo.c @@ -12,7 +12,6 @@ /* LINTLIBRARY */ -#include <sys/cdefs.h> #include <float.h> #include <math.h> diff --git a/lib/libm/src/s_remquof.c b/lib/libm/src/s_remquof.c index 9e85ad7fedc..cf9fdfbe2c2 100644 --- a/lib/libm/src/s_remquof.c +++ b/lib/libm/src/s_remquof.c @@ -10,8 +10,6 @@ * ==================================================== */ -#include <sys/cdefs.h> - #include "math.h" #include "math_private.h" diff --git a/lib/libm/src/s_rint.c b/lib/libm/src/s_rint.c index c509714c02f..2bb3acba96c 100644 --- a/lib/libm/src/s_rint.c +++ b/lib/libm/src/s_rint.c @@ -22,7 +22,6 @@ /* LINTLIBRARY */ -#include <sys/cdefs.h> #include <float.h> #include <math.h> diff --git a/lib/libm/src/s_round.c b/lib/libm/src/s_round.c index 356447a72fc..97bed04a6d9 100644 --- a/lib/libm/src/s_round.c +++ b/lib/libm/src/s_round.c @@ -1,4 +1,4 @@ -/* $OpenBSD: s_round.c,v 1.2 2011/07/06 00:02:42 martynas Exp $ */ +/* $OpenBSD: s_round.c,v 1.3 2012/12/05 23:20:04 deraadt Exp $ */ /*- * Copyright (c) 2003, Steven G. Kargl @@ -28,7 +28,6 @@ /* LINTLIBRARY */ -#include <sys/cdefs.h> #include <float.h> #include <math.h> diff --git a/lib/libm/src/s_roundl.c b/lib/libm/src/s_roundl.c index 05cdaed3304..b893f3193cc 100644 --- a/lib/libm/src/s_roundl.c +++ b/lib/libm/src/s_roundl.c @@ -1,4 +1,4 @@ -/* $OpenBSD: s_roundl.c,v 1.1 2011/07/06 00:02:42 martynas Exp $ */ +/* $OpenBSD: s_roundl.c,v 1.2 2012/12/05 23:20:04 deraadt Exp $ */ /*- * Copyright (c) 2003, Steven G. Kargl @@ -26,11 +26,6 @@ * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */ -#include <sys/cdefs.h> -#if 0 -__FBSDID("$FreeBSD: src/lib/msun/src/s_roundl.c,v 1.2 2005/12/02 13:45:06 bde Exp $"); -#endif - #include <math.h> long double diff --git a/lib/libm/src/s_scalbn.c b/lib/libm/src/s_scalbn.c index f336f945971..b4a24ec560a 100644 --- a/lib/libm/src/s_scalbn.c +++ b/lib/libm/src/s_scalbn.c @@ -19,7 +19,6 @@ /* LINTLIBRARY */ -#include <sys/cdefs.h> #include <float.h> #include <math.h> diff --git a/lib/libm/src/s_scalbnl.c b/lib/libm/src/s_scalbnl.c index eda7a5e2333..6c6759e1a1b 100644 --- a/lib/libm/src/s_scalbnl.c +++ b/lib/libm/src/s_scalbnl.c @@ -1,4 +1,4 @@ -/* $OpenBSD: s_scalbnl.c,v 1.1 2008/12/09 20:00:35 martynas Exp $ */ +/* $OpenBSD: s_scalbnl.c,v 1.2 2012/12/05 23:20:04 deraadt Exp $ */ /* @(#)s_scalbn.c 5.1 93/09/24 */ /* * ==================================================== @@ -24,7 +24,6 @@ * for scalbn(), so we don't use this routine. */ -#include <sys/cdefs.h> #include <sys/types.h> #include <machine/ieee.h> #include <float.h> diff --git a/lib/libm/src/s_sin.c b/lib/libm/src/s_sin.c index 6ffe6efaab8..37cb2d9592a 100644 --- a/lib/libm/src/s_sin.c +++ b/lib/libm/src/s_sin.c @@ -43,7 +43,6 @@ /* LINTLIBRARY */ -#include <sys/cdefs.h> #include <float.h> #include <math.h> diff --git a/lib/libm/src/s_tan.c b/lib/libm/src/s_tan.c index dda041b5183..6b275d3e2a3 100644 --- a/lib/libm/src/s_tan.c +++ b/lib/libm/src/s_tan.c @@ -42,7 +42,6 @@ /* LINTLIBRARY */ -#include <sys/cdefs.h> #include <float.h> #include <math.h> diff --git a/lib/libm/src/s_tanh.c b/lib/libm/src/s_tanh.c index f7d63dd69e0..d89f24436d1 100644 --- a/lib/libm/src/s_tanh.c +++ b/lib/libm/src/s_tanh.c @@ -36,7 +36,6 @@ * only tanh(0)=0 is exact for finite argument. */ -#include <sys/cdefs.h> #include <float.h> #include <math.h> diff --git a/lib/libm/src/s_trunc.c b/lib/libm/src/s_trunc.c index 8c2b165ddb6..9aa8d24ba68 100644 --- a/lib/libm/src/s_trunc.c +++ b/lib/libm/src/s_trunc.c @@ -12,11 +12,6 @@ /* LINTLIBRARY */ -#if 0 -#include <sys/cdefs.h> -__FBSDID("$FreeBSD: src/lib/msun/src/s_trunc.c,v 1.1 2004/06/20 09:25:43 das Exp $"); -#endif - /* * trunc(x) * Return x rounded toward 0 to integral value @@ -26,7 +21,6 @@ __FBSDID("$FreeBSD: src/lib/msun/src/s_trunc.c,v 1.1 2004/06/20 09:25:43 das Exp * Inexact flag raised if x not equal to trunc(x). */ -#include <sys/cdefs.h> #include <float.h> #include <math.h> diff --git a/lib/libm/src/s_truncf.c b/lib/libm/src/s_truncf.c index 7842ea7b2ce..40cdcd93bdf 100644 --- a/lib/libm/src/s_truncf.c +++ b/lib/libm/src/s_truncf.c @@ -10,11 +10,6 @@ * ==================================================== */ -#if 0 -#include <sys/cdefs.h> -__FBSDID("$FreeBSD: src/lib/msun/src/s_truncf.c,v 1.1 2004/06/20 09:25:43 das Exp $"); -#endif - /* * truncf(x) * Return x rounded toward 0 to integral value diff --git a/lib/libm/src/w_lgamma.c b/lib/libm/src/w_lgamma.c index bf69e9a734f..ec7e5aa42c1 100644 --- a/lib/libm/src/w_lgamma.c +++ b/lib/libm/src/w_lgamma.c @@ -18,7 +18,6 @@ * Method: call lgamma_r */ -#include <sys/cdefs.h> #include <float.h> #include <math.h> |