summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>2012-12-05 23:20:27 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>2012-12-05 23:20:27 +0000
commit0275dcbbe75bf604e5d9b03f215e510188a36496 (patch)
tree5c28b494f1e6a54c80a5317abfe2c32e13cbbdc5 /lib
parent56b74e8e5b53b78f8c539afa3b9581be53b79e06 (diff)
Remove excessive sys/cdefs.h inclusion
ok guenther millert kettenis
Diffstat (limited to 'lib')
-rw-r--r--lib/csu/arm/crt0.c3
-rw-r--r--lib/csu/common_elf/crtend.c4
-rw-r--r--lib/csu/common_elf/crtendS.c4
-rw-r--r--lib/csu/ia64/md_init.h4
-rw-r--r--lib/csu/sh/crt0.c3
-rw-r--r--lib/libarch/alpha/bwx.c4
-rw-r--r--lib/libarch/alpha/io.c3
-rw-r--r--lib/libarch/amd64/amd64_get_fsbase.c3
-rw-r--r--lib/libarch/amd64/amd64_get_ioperm.c3
-rw-r--r--lib/libarch/amd64/amd64_iopl.c3
-rw-r--r--lib/libarch/amd64/amd64_set_fsbase.c3
-rw-r--r--lib/libarch/amd64/amd64_set_ioperm.c3
-rw-r--r--lib/libarch/arm/arm_drain_writebuf.c3
-rw-r--r--lib/libarch/arm/arm_sync_icache.c3
-rw-r--r--lib/libarch/i386/i386_get_fsbase.c3
-rw-r--r--lib/libarch/i386/i386_get_gsbase.c3
-rw-r--r--lib/libarch/i386/i386_get_ioperm.c3
-rw-r--r--lib/libarch/i386/i386_get_ldt.c1
-rw-r--r--lib/libarch/i386/i386_iopl.c3
-rw-r--r--lib/libarch/i386/i386_set_fsbase.c3
-rw-r--r--lib/libarch/i386/i386_set_gsbase.c3
-rw-r--r--lib/libarch/i386/i386_set_ioperm.c3
-rw-r--r--lib/libarch/i386/i386_set_ldt.c1
-rw-r--r--lib/libarch/i386/i386_vm86.c3
-rw-r--r--lib/libc/arch/arm/gen/fabs.c3
-rw-r--r--lib/libc/arch/hppa/gen/fabs.c4
-rw-r--r--lib/libc/arch/hppa64/gen/fabs.c4
-rw-r--r--lib/libc/arch/ia64/SYS.h2
-rw-r--r--lib/libc/arch/ia64/gen/flt_rounds.c2
-rw-r--r--lib/libc/arch/ia64/gen/fpgetmask.c1
-rw-r--r--lib/libc/arch/ia64/gen/fpsetmask.c1
-rw-r--r--lib/libc/arch/powerpc/gen/fabs.c3
-rw-r--r--lib/libc/arch/sh/gen/fabs.c3
-rw-r--r--lib/libc/arch/sparc64/fpu/fpu_add.c3
-rw-r--r--lib/libc/arch/sparc64/fpu/fpu_compare.c3
-rw-r--r--lib/libc/arch/sparc64/fpu/fpu_div.c3
-rw-r--r--lib/libc/arch/sparc64/fpu/fpu_explode.c3
-rw-r--r--lib/libc/arch/sparc64/fpu/fpu_implode.c3
-rw-r--r--lib/libc/arch/sparc64/fpu/fpu_mul.c3
-rw-r--r--lib/libc/arch/sparc64/fpu/fpu_qp.c3
-rw-r--r--lib/libc/arch/sparc64/fpu/fpu_sqrt.c3
-rw-r--r--lib/libc/arch/sparc64/fpu/fpu_subr.c3
-rw-r--r--lib/libc/arch/vax/gen/fpclassify.c3
-rw-r--r--lib/libc/arch/vax/gen/frexp.c3
-rw-r--r--lib/libc/arch/vax/gen/isfinite.c3
-rw-r--r--lib/libc/arch/vax/gen/isinf.c4
-rw-r--r--lib/libc/arch/vax/gen/isnan.c4
-rw-r--r--lib/libc/arch/vax/gen/isnormal.c4
-rw-r--r--lib/libc/arch/vax/gen/signbit.c4
-rw-r--r--lib/libc/citrus/citrus_ctype.c3
-rw-r--r--lib/libc/citrus/citrus_none.c3
-rw-r--r--lib/libc/citrus/citrus_utf8.c3
-rw-r--r--lib/libc/gen/_sys_errlist.c4
-rw-r--r--lib/libc/gen/_sys_nerr.c4
-rw-r--r--lib/libc/gen/_sys_siglist.c4
-rw-r--r--lib/libc/gen/err.c3
-rw-r--r--lib/libc/gen/errx.c3
-rw-r--r--lib/libc/gen/fpclassify.c3
-rw-r--r--lib/libc/gen/frexp.c3
-rw-r--r--lib/libc/gen/isfinite.c3
-rw-r--r--lib/libc/gen/isinf.c3
-rw-r--r--lib/libc/gen/isnan.c3
-rw-r--r--lib/libc/gen/isnormal.c3
-rw-r--r--lib/libc/gen/ldexp.c3
-rw-r--r--lib/libc/gen/posix_spawn.c4
-rw-r--r--lib/libc/gen/siglist.c3
-rw-r--r--lib/libc/gen/signbit.c3
-rw-r--r--lib/libc/gen/verr.c3
-rw-r--r--lib/libc/gen/verrx.c3
-rw-r--r--lib/libc/gen/vwarn.c3
-rw-r--r--lib/libc/gen/vwarnx.c3
-rw-r--r--lib/libc/gen/warn.c3
-rw-r--r--lib/libc/gen/warnx.c3
-rw-r--r--lib/libc/locale/___runetype_mb.c4
-rw-r--r--lib/libc/locale/_wctrans.c4
-rw-r--r--lib/libc/locale/btowc.c4
-rw-r--r--lib/libc/locale/iswctype.c4
-rw-r--r--lib/libc/locale/mblen.c4
-rw-r--r--lib/libc/locale/mbrlen.c4
-rw-r--r--lib/libc/locale/mbstowcs.c3
-rw-r--r--lib/libc/locale/mbtowc.c3
-rw-r--r--lib/libc/locale/multibyte_citrus.c3
-rw-r--r--lib/libc/locale/rune.c4
-rw-r--r--lib/libc/locale/runeglue.c4
-rw-r--r--lib/libc/locale/runetable.c2
-rw-r--r--lib/libc/locale/runetype.h3
-rw-r--r--lib/libc/locale/setrunelocale.c4
-rw-r--r--lib/libc/locale/wcscoll.c4
-rw-r--r--lib/libc/locale/wcstombs.c4
-rw-r--r--lib/libc/locale/wcsxfrm.c5
-rw-r--r--lib/libc/locale/wctob.c4
-rw-r--r--lib/libc/locale/wctomb.c4
-rw-r--r--lib/libc/nls/_catclose.c4
-rw-r--r--lib/libc/nls/_catgets.c4
-rw-r--r--lib/libc/nls/_catopen.c4
-rw-r--r--lib/libc/softfloat/eqdf2.c4
-rw-r--r--lib/libc/softfloat/eqsf2.c4
-rw-r--r--lib/libc/softfloat/fpgetmask.c4
-rw-r--r--lib/libc/softfloat/fpgetround.c4
-rw-r--r--lib/libc/softfloat/fpgetsticky.c4
-rw-r--r--lib/libc/softfloat/fpsetmask.c4
-rw-r--r--lib/libc/softfloat/fpsetround.c4
-rw-r--r--lib/libc/softfloat/fpsetsticky.c4
-rw-r--r--lib/libc/softfloat/gedf2.c4
-rw-r--r--lib/libc/softfloat/gesf2.c4
-rw-r--r--lib/libc/softfloat/gtdf2.c4
-rw-r--r--lib/libc/softfloat/gtsf2.c4
-rw-r--r--lib/libc/softfloat/ledf2.c4
-rw-r--r--lib/libc/softfloat/lesf2.c4
-rw-r--r--lib/libc/softfloat/ltdf2.c4
-rw-r--r--lib/libc/softfloat/ltsf2.c4
-rw-r--r--lib/libc/softfloat/nedf2.c4
-rw-r--r--lib/libc/softfloat/negdf2.c4
-rw-r--r--lib/libc/softfloat/negsf2.c4
-rw-r--r--lib/libc/softfloat/nesf2.c4
-rw-r--r--lib/libc/softfloat/softfloat.c4
-rw-r--r--lib/libc/softfloat/timesoftfloat.c4
-rw-r--r--lib/libc/softfloat/unorddf2.c4
-rw-r--r--lib/libc/softfloat/unordsf2.c4
-rw-r--r--lib/libc/stdio/fwscanf.c3
-rw-r--r--lib/libc/stdio/swprintf.c4
-rw-r--r--lib/libc/stdio/swscanf.c3
-rw-r--r--lib/libc/stdio/vswprintf.c3
-rw-r--r--lib/libc/stdio/vswscanf.c3
-rw-r--r--lib/libc/stdio/vwscanf.c4
-rw-r--r--lib/libc/stdio/wscanf.c3
-rw-r--r--lib/libc/stdlib/cfree.c3
-rw-r--r--lib/libkvm/kvm_amd64.c4
-rw-r--r--lib/libkvm/kvm_sparc64.c4
-rw-r--r--lib/libm/arch/amd64/fenv.c6
-rw-r--r--lib/libm/arch/arm/fenv.c6
-rw-r--r--lib/libm/arch/hppa/e_remainder.c1
-rw-r--r--lib/libm/arch/hppa/e_sqrt.c1
-rw-r--r--lib/libm/arch/hppa/fenv.c4
-rw-r--r--lib/libm/arch/hppa/s_rint.c1
-rw-r--r--lib/libm/arch/hppa64/fenv.c4
-rw-r--r--lib/libm/arch/i387/fenv.c7
-rw-r--r--lib/libm/arch/m88k/fenv.c4
-rw-r--r--lib/libm/arch/mc68881/fenv.c4
-rw-r--r--lib/libm/arch/mips64/fenv.c4
-rw-r--r--lib/libm/arch/powerpc/fenv.c4
-rw-r--r--lib/libm/arch/sh/e_sqrt.c3
-rw-r--r--lib/libm/arch/sh/fenv.c4
-rw-r--r--lib/libm/arch/sparc/fenv.c3
-rw-r--r--lib/libm/arch/sparc64/fenv.c3
-rw-r--r--lib/libm/noieee_src/n_asincos.c3
-rw-r--r--lib/libm/noieee_src/n_atan.c3
-rw-r--r--lib/libm/noieee_src/n_atan2.c3
-rw-r--r--lib/libm/noieee_src/n_cbrt.c4
-rw-r--r--lib/libm/noieee_src/n_fdim.c3
-rw-r--r--lib/libm/noieee_src/n_floor.c3
-rw-r--r--lib/libm/noieee_src/n_fmax.c3
-rw-r--r--lib/libm/noieee_src/n_fmin.c3
-rw-r--r--lib/libm/noieee_src/n_sincos.c3
-rw-r--r--lib/libm/noieee_src/n_support.c3
-rw-r--r--lib/libm/noieee_src/n_tan.c3
-rw-r--r--lib/libm/src/b_tgamma.c3
-rw-r--r--lib/libm/src/e_acos.c1
-rw-r--r--lib/libm/src/e_acosh.c1
-rw-r--r--lib/libm/src/e_asin.c1
-rw-r--r--lib/libm/src/e_atan2.c1
-rw-r--r--lib/libm/src/e_atanh.c1
-rw-r--r--lib/libm/src/e_cosh.c1
-rw-r--r--lib/libm/src/e_exp.c1
-rw-r--r--lib/libm/src/e_fmod.c1
-rw-r--r--lib/libm/src/e_hypot.c1
-rw-r--r--lib/libm/src/e_log.c1
-rw-r--r--lib/libm/src/e_log10.c1
-rw-r--r--lib/libm/src/e_log2.c1
-rw-r--r--lib/libm/src/e_pow.c1
-rw-r--r--lib/libm/src/e_remainder.c1
-rw-r--r--lib/libm/src/e_sinh.c1
-rw-r--r--lib/libm/src/e_sqrt.c1
-rw-r--r--lib/libm/src/ld128/s_cbrtl.c5
-rw-r--r--lib/libm/src/ld128/s_nextafterl.c1
-rw-r--r--lib/libm/src/ld128/s_remquol.c5
-rw-r--r--lib/libm/src/ld128/s_truncl.c5
-rw-r--r--lib/libm/src/ld80/e_fmodl.c5
-rw-r--r--lib/libm/src/ld80/s_cbrtl.c5
-rw-r--r--lib/libm/src/ld80/s_nextafterl.c1
-rw-r--r--lib/libm/src/ld80/s_remquol.c5
-rw-r--r--lib/libm/src/ld80/s_truncl.c5
-rw-r--r--lib/libm/src/s_asinh.c1
-rw-r--r--lib/libm/src/s_atan.c1
-rw-r--r--lib/libm/src/s_cabs.c3
-rw-r--r--lib/libm/src/s_cacos.c3
-rw-r--r--lib/libm/src/s_cacosh.c3
-rw-r--r--lib/libm/src/s_carg.c3
-rw-r--r--lib/libm/src/s_casin.c3
-rw-r--r--lib/libm/src/s_casinh.c3
-rw-r--r--lib/libm/src/s_catan.c3
-rw-r--r--lib/libm/src/s_catanh.c3
-rw-r--r--lib/libm/src/s_cbrt.c1
-rw-r--r--lib/libm/src/s_ccos.c3
-rw-r--r--lib/libm/src/s_ccosh.c3
-rw-r--r--lib/libm/src/s_ceil.c1
-rw-r--r--lib/libm/src/s_cexp.c3
-rw-r--r--lib/libm/src/s_cimag.c3
-rw-r--r--lib/libm/src/s_clog.c3
-rw-r--r--lib/libm/src/s_conj.c3
-rw-r--r--lib/libm/src/s_copysign.c1
-rw-r--r--lib/libm/src/s_cos.c1
-rw-r--r--lib/libm/src/s_cpow.c3
-rw-r--r--lib/libm/src/s_cproj.c3
-rw-r--r--lib/libm/src/s_creal.c3
-rw-r--r--lib/libm/src/s_csin.c3
-rw-r--r--lib/libm/src/s_csinh.c3
-rw-r--r--lib/libm/src/s_csqrt.c3
-rw-r--r--lib/libm/src/s_ctan.c3
-rw-r--r--lib/libm/src/s_ctanh.c3
-rw-r--r--lib/libm/src/s_erf.c1
-rw-r--r--lib/libm/src/s_exp2.c3
-rw-r--r--lib/libm/src/s_exp2f.c3
-rw-r--r--lib/libm/src/s_expm1.c1
-rw-r--r--lib/libm/src/s_fdim.c3
-rw-r--r--lib/libm/src/s_floor.c1
-rw-r--r--lib/libm/src/s_fma.c7
-rw-r--r--lib/libm/src/s_fmaf.c7
-rw-r--r--lib/libm/src/s_fmal.c7
-rw-r--r--lib/libm/src/s_fmax.c3
-rw-r--r--lib/libm/src/s_fmin.c3
-rw-r--r--lib/libm/src/s_ilogb.c1
-rw-r--r--lib/libm/src/s_log1p.c1
-rw-r--r--lib/libm/src/s_lrintl.c3
-rw-r--r--lib/libm/src/s_lroundl.c3
-rw-r--r--lib/libm/src/s_nan.c3
-rw-r--r--lib/libm/src/s_nextafter.c1
-rw-r--r--lib/libm/src/s_remquo.c1
-rw-r--r--lib/libm/src/s_remquof.c2
-rw-r--r--lib/libm/src/s_rint.c1
-rw-r--r--lib/libm/src/s_round.c3
-rw-r--r--lib/libm/src/s_roundl.c7
-rw-r--r--lib/libm/src/s_scalbn.c1
-rw-r--r--lib/libm/src/s_scalbnl.c3
-rw-r--r--lib/libm/src/s_sin.c1
-rw-r--r--lib/libm/src/s_tan.c1
-rw-r--r--lib/libm/src/s_tanh.c1
-rw-r--r--lib/libm/src/s_trunc.c6
-rw-r--r--lib/libm/src/s_truncf.c5
-rw-r--r--lib/libm/src/w_lgamma.c1
-rw-r--r--lib/libocurses/curses.h1
-rw-r--r--lib/libpthread/include/pthread.h3
-rw-r--r--lib/libpthread/include/sched.h4
-rw-r--r--lib/libpthread/include/semaphore.h3
-rw-r--r--lib/libpthread/include/spinlock.h5
-rw-r--r--lib/libutil/fparseln.c4
-rw-r--r--lib/libutil/opendisk.c3
-rw-r--r--lib/libutil/pty.c3
-rw-r--r--lib/libutil/util.h3
-rw-r--r--lib/libwrap/tcpd.h4
250 files changed, 216 insertions, 558 deletions
diff --git a/lib/csu/arm/crt0.c b/lib/csu/arm/crt0.c
index dec1536a3c6..2fa7262a0e6 100644
--- a/lib/csu/arm/crt0.c
+++ b/lib/csu/arm/crt0.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: crt0.c,v 1.2 2004/02/01 05:44:37 drahn Exp $ */
+/* $OpenBSD: crt0.c,v 1.3 2012/12/05 23:19:57 deraadt Exp $ */
/* $NetBSD: crt0.c,v 1.6 2002/01/01 01:31:06 thorpej Exp $ */
/*
@@ -33,7 +33,6 @@
* ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
-#include <sys/cdefs.h>
#include <sys/param.h>
#include <machine/asm.h>
diff --git a/lib/csu/common_elf/crtend.c b/lib/csu/common_elf/crtend.c
index 6f61be9afa8..287e7bc1045 100644
--- a/lib/csu/common_elf/crtend.c
+++ b/lib/csu/common_elf/crtend.c
@@ -1,7 +1,7 @@
-/* $OpenBSD: crtend.c,v 1.9 2010/05/01 11:32:43 kettenis Exp $ */
+/* $OpenBSD: crtend.c,v 1.10 2012/12/05 23:19:57 deraadt Exp $ */
/* $NetBSD: crtend.c,v 1.1 1996/09/12 16:59:04 cgd Exp $ */
-#include <sys/cdefs.h>
+#include <sys/types.h>
#include "md_init.h"
#include "extern.h"
diff --git a/lib/csu/common_elf/crtendS.c b/lib/csu/common_elf/crtendS.c
index cb41b9fcb49..6ebfc5b3591 100644
--- a/lib/csu/common_elf/crtendS.c
+++ b/lib/csu/common_elf/crtendS.c
@@ -1,7 +1,7 @@
-/* $OpenBSD: crtendS.c,v 1.7 2010/05/01 11:32:43 kettenis Exp $ */
+/* $OpenBSD: crtendS.c,v 1.8 2012/12/05 23:19:57 deraadt Exp $ */
/* $NetBSD: crtend.c,v 1.1 1997/04/16 19:38:24 thorpej Exp $ */
-#include <sys/cdefs.h>
+#include <sys/types.h>
#include "md_init.h"
#include "extern.h"
diff --git a/lib/csu/ia64/md_init.h b/lib/csu/ia64/md_init.h
index 0c2cfb2572b..cf4282ccc65 100644
--- a/lib/csu/ia64/md_init.h
+++ b/lib/csu/ia64/md_init.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: md_init.h,v 1.1 2011/07/04 05:42:11 pirofti Exp $ */
+/* $OpenBSD: md_init.h,v 1.2 2012/12/05 23:19:57 deraadt Exp $ */
/*
* Copyright (c) 2011 Paul Irofti <pirofti@openbsd.org>
@@ -16,7 +16,7 @@
* OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
*/
-#include <sys/cdefs.h>
+#include <sys/types.h>
#include <machine/asm.h>
#define MD_SECT_CALL_FUNC(section, func) \
diff --git a/lib/csu/sh/crt0.c b/lib/csu/sh/crt0.c
index 24599a9e17f..a76598e7ea9 100644
--- a/lib/csu/sh/crt0.c
+++ b/lib/csu/sh/crt0.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: crt0.c,v 1.4 2012/04/12 11:28:32 jsg Exp $ */
+/* $OpenBSD: crt0.c,v 1.5 2012/12/05 23:19:57 deraadt Exp $ */
/* $NetBSD: crt0.c,v 1.10 2004/08/26 21:16:41 thorpej Exp $ */
/*
@@ -36,7 +36,6 @@
* <<Id: LICENSE,v 1.2 2000/06/14 15:57:33 cgd Exp>>
*/
-#include <sys/cdefs.h>
#include <sys/param.h>
#include <machine/asm.h>
diff --git a/lib/libarch/alpha/bwx.c b/lib/libarch/alpha/bwx.c
index 5fbf1fc80ad..af7bdc8afc2 100644
--- a/lib/libarch/alpha/bwx.c
+++ b/lib/libarch/alpha/bwx.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: bwx.c,v 1.4 2003/10/06 22:29:45 miod Exp $ */
+/* $OpenBSD: bwx.c,v 1.5 2012/12/05 23:19:58 deraadt Exp $ */
/*-
* Copyright (c) 1998 Doug Rabson
* All rights reserved.
@@ -25,8 +25,6 @@
* SUCH DAMAGE.
*/
-#include <sys/cdefs.h>
-
#define vm_page_size (sysconf(_SC_PAGESIZE)) /* XXX */
#include <sys/param.h>
#include <sys/mman.h>
diff --git a/lib/libarch/alpha/io.c b/lib/libarch/alpha/io.c
index c7c7474bec7..8515752a21a 100644
--- a/lib/libarch/alpha/io.c
+++ b/lib/libarch/alpha/io.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: io.c,v 1.2 2009/10/01 19:37:16 miod Exp $ */
+/* $OpenBSD: io.c,v 1.3 2012/12/05 23:19:58 deraadt Exp $ */
/*-
* Copyright (c) 1998 Doug Rabson
* All rights reserved.
@@ -25,7 +25,6 @@
* SUCH DAMAGE.
*/
-#include <sys/cdefs.h>
#include <sys/param.h>
#include <sys/types.h>
#include <sys/sysctl.h>
diff --git a/lib/libarch/amd64/amd64_get_fsbase.c b/lib/libarch/amd64/amd64_get_fsbase.c
index 4dd736e593e..60d278c4965 100644
--- a/lib/libarch/amd64/amd64_get_fsbase.c
+++ b/lib/libarch/amd64/amd64_get_fsbase.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: amd64_get_fsbase.c,v 1.1 2011/04/05 21:14:00 guenther Exp $ */
+/* $OpenBSD: amd64_get_fsbase.c,v 1.2 2012/12/05 23:19:58 deraadt Exp $ */
/* $NetBSD: i386_get_ioperm.c,v 1.2 1996/02/27 22:57:22 jtc Exp $ */
/*-
@@ -30,7 +30,6 @@
* POSSIBILITY OF SUCH DAMAGE.
*/
-#include <sys/cdefs.h>
#include <sys/types.h>
#include <machine/segments.h>
diff --git a/lib/libarch/amd64/amd64_get_ioperm.c b/lib/libarch/amd64/amd64_get_ioperm.c
index 2a2abe5c5fc..e6da7cb0f92 100644
--- a/lib/libarch/amd64/amd64_get_ioperm.c
+++ b/lib/libarch/amd64/amd64_get_ioperm.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: amd64_get_ioperm.c,v 1.2 2008/06/26 05:42:04 ray Exp $ */
+/* $OpenBSD: amd64_get_ioperm.c,v 1.3 2012/12/05 23:19:58 deraadt Exp $ */
/* $NetBSD: amd64_get_ioperm.c,v 1.2 1996/02/27 22:57:22 jtc Exp $ */
/*-
@@ -30,7 +30,6 @@
* POSSIBILITY OF SUCH DAMAGE.
*/
-#include <sys/cdefs.h>
#include <sys/types.h>
#include <machine/segments.h>
diff --git a/lib/libarch/amd64/amd64_iopl.c b/lib/libarch/amd64/amd64_iopl.c
index c9bb5134e74..87480596bc9 100644
--- a/lib/libarch/amd64/amd64_iopl.c
+++ b/lib/libarch/amd64/amd64_iopl.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: amd64_iopl.c,v 1.2 2008/06/26 05:42:04 ray Exp $ */
+/* $OpenBSD: amd64_iopl.c,v 1.3 2012/12/05 23:19:58 deraadt Exp $ */
/* $NetBSD: i386_iopl.c,v 1.2 1996/02/27 22:57:29 jtc Exp $ */
/*-
@@ -30,7 +30,6 @@
* POSSIBILITY OF SUCH DAMAGE.
*/
-#include <sys/cdefs.h>
#include <sys/types.h>
#include <machine/segments.h>
diff --git a/lib/libarch/amd64/amd64_set_fsbase.c b/lib/libarch/amd64/amd64_set_fsbase.c
index 9201e82a5fe..7d4fac8f19a 100644
--- a/lib/libarch/amd64/amd64_set_fsbase.c
+++ b/lib/libarch/amd64/amd64_set_fsbase.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: amd64_set_fsbase.c,v 1.1 2011/04/05 21:14:00 guenther Exp $ */
+/* $OpenBSD: amd64_set_fsbase.c,v 1.2 2012/12/05 23:19:58 deraadt Exp $ */
/* $NetBSD: i386_set_ioperm.c,v 1.2 1996/02/27 22:57:31 jtc Exp $ */
/*-
@@ -30,7 +30,6 @@
* POSSIBILITY OF SUCH DAMAGE.
*/
-#include <sys/cdefs.h>
#include <sys/types.h>
#include <machine/segments.h>
diff --git a/lib/libarch/amd64/amd64_set_ioperm.c b/lib/libarch/amd64/amd64_set_ioperm.c
index e65473372b8..7b356cd7417 100644
--- a/lib/libarch/amd64/amd64_set_ioperm.c
+++ b/lib/libarch/amd64/amd64_set_ioperm.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: amd64_set_ioperm.c,v 1.2 2008/06/26 05:42:04 ray Exp $ */
+/* $OpenBSD: amd64_set_ioperm.c,v 1.3 2012/12/05 23:19:58 deraadt Exp $ */
/* $NetBSD: amd64_set_ioperm.c,v 1.2 1996/02/27 22:57:31 jtc Exp $ */
/*-
@@ -30,7 +30,6 @@
* POSSIBILITY OF SUCH DAMAGE.
*/
-#include <sys/cdefs.h>
#include <sys/types.h>
#include <machine/segments.h>
diff --git a/lib/libarch/arm/arm_drain_writebuf.c b/lib/libarch/arm/arm_drain_writebuf.c
index 69a11fdb625..991fa0fa36a 100644
--- a/lib/libarch/arm/arm_drain_writebuf.c
+++ b/lib/libarch/arm/arm_drain_writebuf.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: arm_drain_writebuf.c,v 1.1 2005/02/03 17:12:41 drahn Exp $ */
+/* $OpenBSD: arm_drain_writebuf.c,v 1.2 2012/12/05 23:19:58 deraadt Exp $ */
/* $NetBSD: arm_drain_writebuf.c,v 1.1 2002/03/30 06:24:34 thorpej Exp $ */
/*
@@ -33,7 +33,6 @@
* SUCH DAMAGE.
*/
-#include <sys/cdefs.h>
#include <sys/types.h>
#include <machine/sysarch.h>
diff --git a/lib/libarch/arm/arm_sync_icache.c b/lib/libarch/arm/arm_sync_icache.c
index 7e8c3c321b9..ee41c36fdd4 100644
--- a/lib/libarch/arm/arm_sync_icache.c
+++ b/lib/libarch/arm/arm_sync_icache.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: arm_sync_icache.c,v 1.1 2005/02/03 17:12:41 drahn Exp $ */
+/* $OpenBSD: arm_sync_icache.c,v 1.2 2012/12/05 23:19:58 deraadt Exp $ */
/* $NetBSD: arm_sync_icache.c,v 1.1 2002/03/30 06:24:34 thorpej Exp $ */
/*
@@ -33,7 +33,6 @@
* SUCH DAMAGE.
*/
-#include <sys/cdefs.h>
#include <sys/types.h>
#include <machine/sysarch.h>
diff --git a/lib/libarch/i386/i386_get_fsbase.c b/lib/libarch/i386/i386_get_fsbase.c
index dde83ea5188..7744e70d9b2 100644
--- a/lib/libarch/i386/i386_get_fsbase.c
+++ b/lib/libarch/i386/i386_get_fsbase.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: i386_get_fsbase.c,v 1.1 2011/03/12 04:12:29 guenther Exp $ */
+/* $OpenBSD: i386_get_fsbase.c,v 1.2 2012/12/05 23:19:58 deraadt Exp $ */
/* $NetBSD: i386_get_ioperm.c,v 1.2 1996/02/27 22:57:22 jtc Exp $ */
/*-
@@ -30,7 +30,6 @@
* POSSIBILITY OF SUCH DAMAGE.
*/
-#include <sys/cdefs.h>
#include <sys/types.h>
#include <machine/segments.h>
diff --git a/lib/libarch/i386/i386_get_gsbase.c b/lib/libarch/i386/i386_get_gsbase.c
index 8faf23cb3fe..1c6d98c14c7 100644
--- a/lib/libarch/i386/i386_get_gsbase.c
+++ b/lib/libarch/i386/i386_get_gsbase.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: i386_get_gsbase.c,v 1.1 2011/03/12 04:12:29 guenther Exp $ */
+/* $OpenBSD: i386_get_gsbase.c,v 1.2 2012/12/05 23:19:58 deraadt Exp $ */
/* $NetBSD: i386_get_ioperm.c,v 1.2 1996/02/27 22:57:22 jtc Exp $ */
/*-
@@ -30,7 +30,6 @@
* POSSIBILITY OF SUCH DAMAGE.
*/
-#include <sys/cdefs.h>
#include <sys/types.h>
#include <machine/segments.h>
diff --git a/lib/libarch/i386/i386_get_ioperm.c b/lib/libarch/i386/i386_get_ioperm.c
index a2f0143ffc0..6d08a591f89 100644
--- a/lib/libarch/i386/i386_get_ioperm.c
+++ b/lib/libarch/i386/i386_get_ioperm.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: i386_get_ioperm.c,v 1.5 2008/06/26 05:42:04 ray Exp $ */
+/* $OpenBSD: i386_get_ioperm.c,v 1.6 2012/12/05 23:19:58 deraadt Exp $ */
/* $NetBSD: i386_get_ioperm.c,v 1.2 1996/02/27 22:57:22 jtc Exp $ */
/*-
@@ -30,7 +30,6 @@
* POSSIBILITY OF SUCH DAMAGE.
*/
-#include <sys/cdefs.h>
#include <sys/types.h>
#include <machine/segments.h>
diff --git a/lib/libarch/i386/i386_get_ldt.c b/lib/libarch/i386/i386_get_ldt.c
index 56fb1560d01..384a352f431 100644
--- a/lib/libarch/i386/i386_get_ldt.c
+++ b/lib/libarch/i386/i386_get_ldt.c
@@ -27,7 +27,6 @@
*
*/
-#include <sys/cdefs.h>
#include <sys/types.h>
#include <machine/segments.h>
diff --git a/lib/libarch/i386/i386_iopl.c b/lib/libarch/i386/i386_iopl.c
index dddc9dbb133..46138985a2b 100644
--- a/lib/libarch/i386/i386_iopl.c
+++ b/lib/libarch/i386/i386_iopl.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: i386_iopl.c,v 1.5 2008/06/26 05:42:04 ray Exp $ */
+/* $OpenBSD: i386_iopl.c,v 1.6 2012/12/05 23:19:58 deraadt Exp $ */
/* $NetBSD: i386_iopl.c,v 1.2 1996/02/27 22:57:29 jtc Exp $ */
/*-
@@ -30,7 +30,6 @@
* POSSIBILITY OF SUCH DAMAGE.
*/
-#include <sys/cdefs.h>
#include <sys/types.h>
#include <machine/segments.h>
diff --git a/lib/libarch/i386/i386_set_fsbase.c b/lib/libarch/i386/i386_set_fsbase.c
index 78d38e97e25..06ee72335dc 100644
--- a/lib/libarch/i386/i386_set_fsbase.c
+++ b/lib/libarch/i386/i386_set_fsbase.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: i386_set_fsbase.c,v 1.1 2011/03/12 04:12:29 guenther Exp $ */
+/* $OpenBSD: i386_set_fsbase.c,v 1.2 2012/12/05 23:19:58 deraadt Exp $ */
/* $NetBSD: i386_set_ioperm.c,v 1.2 1996/02/27 22:57:31 jtc Exp $ */
/*-
@@ -30,7 +30,6 @@
* POSSIBILITY OF SUCH DAMAGE.
*/
-#include <sys/cdefs.h>
#include <sys/types.h>
#include <machine/segments.h>
diff --git a/lib/libarch/i386/i386_set_gsbase.c b/lib/libarch/i386/i386_set_gsbase.c
index 8cd01000032..283f6aa5e98 100644
--- a/lib/libarch/i386/i386_set_gsbase.c
+++ b/lib/libarch/i386/i386_set_gsbase.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: i386_set_gsbase.c,v 1.1 2011/03/12 04:12:29 guenther Exp $ */
+/* $OpenBSD: i386_set_gsbase.c,v 1.2 2012/12/05 23:19:58 deraadt Exp $ */
/* $NetBSD: i386_set_ioperm.c,v 1.2 1996/02/27 22:57:31 jtc Exp $ */
/*-
@@ -30,7 +30,6 @@
* POSSIBILITY OF SUCH DAMAGE.
*/
-#include <sys/cdefs.h>
#include <sys/types.h>
#include <machine/segments.h>
diff --git a/lib/libarch/i386/i386_set_ioperm.c b/lib/libarch/i386/i386_set_ioperm.c
index 2320bdb5eb9..5eeee8afce9 100644
--- a/lib/libarch/i386/i386_set_ioperm.c
+++ b/lib/libarch/i386/i386_set_ioperm.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: i386_set_ioperm.c,v 1.5 2008/06/26 05:42:04 ray Exp $ */
+/* $OpenBSD: i386_set_ioperm.c,v 1.6 2012/12/05 23:19:58 deraadt Exp $ */
/* $NetBSD: i386_set_ioperm.c,v 1.2 1996/02/27 22:57:31 jtc Exp $ */
/*-
@@ -30,7 +30,6 @@
* POSSIBILITY OF SUCH DAMAGE.
*/
-#include <sys/cdefs.h>
#include <sys/types.h>
#include <machine/segments.h>
diff --git a/lib/libarch/i386/i386_set_ldt.c b/lib/libarch/i386/i386_set_ldt.c
index 11e5f4b0860..cf1c1d09bb4 100644
--- a/lib/libarch/i386/i386_set_ldt.c
+++ b/lib/libarch/i386/i386_set_ldt.c
@@ -27,7 +27,6 @@
*
*/
-#include <sys/cdefs.h>
#include <sys/types.h>
#include <machine/segments.h>
diff --git a/lib/libarch/i386/i386_vm86.c b/lib/libarch/i386/i386_vm86.c
index 84c90b5413b..8c01613d134 100644
--- a/lib/libarch/i386/i386_vm86.c
+++ b/lib/libarch/i386/i386_vm86.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: i386_vm86.c,v 1.4 2008/06/26 05:42:04 ray Exp $ */
+/* $OpenBSD: i386_vm86.c,v 1.5 2012/12/05 23:19:58 deraadt Exp $ */
/* $NetBSD: i386_vm86.c,v 1.1 1996/02/21 00:21:56 jtk Exp $ */
/*-
@@ -30,7 +30,6 @@
* POSSIBILITY OF SUCH DAMAGE.
*/
-#include <sys/cdefs.h>
#include <sys/types.h>
#include <machine/signal.h>
#include <machine/segments.h>
diff --git a/lib/libc/arch/arm/gen/fabs.c b/lib/libc/arch/arm/gen/fabs.c
index 18c7b45b4c2..41d840b160e 100644
--- a/lib/libc/arch/arm/gen/fabs.c
+++ b/lib/libc/arch/arm/gen/fabs.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: fabs.c,v 1.7 2011/07/08 22:28:33 martynas Exp $ */
+/* $OpenBSD: fabs.c,v 1.8 2012/12/05 23:19:58 deraadt Exp $ */
/*
* Copyright (c) 2008 Martynas Venckus <martynas@openbsd.org>
*
@@ -15,7 +15,6 @@
* OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
*/
-#include <sys/cdefs.h>
#include <sys/types.h>
#include <machine/ieee.h>
diff --git a/lib/libc/arch/hppa/gen/fabs.c b/lib/libc/arch/hppa/gen/fabs.c
index d234fb01850..1b5c41b5241 100644
--- a/lib/libc/arch/hppa/gen/fabs.c
+++ b/lib/libc/arch/hppa/gen/fabs.c
@@ -1,10 +1,10 @@
-/* $OpenBSD: fabs.c,v 1.7 2011/07/08 22:28:33 martynas Exp $ */
+/* $OpenBSD: fabs.c,v 1.8 2012/12/05 23:19:58 deraadt Exp $ */
/*
* Written by Miodrag Vallat. Public domain
*/
-#include <sys/cdefs.h>
+#include <sys/types.h>
double
fabs(double val)
diff --git a/lib/libc/arch/hppa64/gen/fabs.c b/lib/libc/arch/hppa64/gen/fabs.c
index dbf1d8eea2d..edd0a38a9d5 100644
--- a/lib/libc/arch/hppa64/gen/fabs.c
+++ b/lib/libc/arch/hppa64/gen/fabs.c
@@ -1,10 +1,10 @@
-/* $OpenBSD: fabs.c,v 1.4 2011/08/19 15:44:36 kettenis Exp $ */
+/* $OpenBSD: fabs.c,v 1.5 2012/12/05 23:19:58 deraadt Exp $ */
/*
* Written by Miodrag Vallat. Public domain
*/
-#include <sys/cdefs.h>
+#include <sys/types.h>
double
fabs(double val)
diff --git a/lib/libc/arch/ia64/SYS.h b/lib/libc/arch/ia64/SYS.h
index 8ee7fb44364..8245c41a78a 100644
--- a/lib/libc/arch/ia64/SYS.h
+++ b/lib/libc/arch/ia64/SYS.h
@@ -27,7 +27,7 @@
* rights to redistribute these changes.
*/
-#include <sys/cdefs.h>
+#include <sys/types.h>
#include <machine/asm.h>
#include <sys/syscall.h>
diff --git a/lib/libc/arch/ia64/gen/flt_rounds.c b/lib/libc/arch/ia64/gen/flt_rounds.c
index a48a4237603..1197490c1e2 100644
--- a/lib/libc/arch/ia64/gen/flt_rounds.c
+++ b/lib/libc/arch/ia64/gen/flt_rounds.c
@@ -3,7 +3,7 @@
* Public domain.
*/
-#include <sys/cdefs.h>
+#include <sys/types.h>
/* __FBSDID("$FreeBSD: src/lib/libc/ia64/gen/flt_rounds.c,v 1.1 2004/07/19 08:17:24 das Exp $"); */
#include <float.h>
diff --git a/lib/libc/arch/ia64/gen/fpgetmask.c b/lib/libc/arch/ia64/gen/fpgetmask.c
index 6bf750cbdf8..4404ce5ed9f 100644
--- a/lib/libc/arch/ia64/gen/fpgetmask.c
+++ b/lib/libc/arch/ia64/gen/fpgetmask.c
@@ -24,7 +24,6 @@
* SUCH DAMAGE.
*/
-#include <sys/cdefs.h>
/* __FBSDID("$FreeBSD: src/lib/libc/ia64/gen/fpgetmask.c,v 1.4 2003/10/22 09:00:07 marcel Exp $"); */
#include <sys/types.h>
diff --git a/lib/libc/arch/ia64/gen/fpsetmask.c b/lib/libc/arch/ia64/gen/fpsetmask.c
index ea87938c1b5..84f5a29575f 100644
--- a/lib/libc/arch/ia64/gen/fpsetmask.c
+++ b/lib/libc/arch/ia64/gen/fpsetmask.c
@@ -24,7 +24,6 @@
* SUCH DAMAGE.
*/
-#include <sys/cdefs.h>
/* __FBSDID("$FreeBSD: src/lib/libc/ia64/gen/fpsetmask.c,v 1.4 2003/10/22 09:00:07 marcel Exp $"); */
#include <sys/types.h>
diff --git a/lib/libc/arch/powerpc/gen/fabs.c b/lib/libc/arch/powerpc/gen/fabs.c
index fcd6f671e80..866a766ea64 100644
--- a/lib/libc/arch/powerpc/gen/fabs.c
+++ b/lib/libc/arch/powerpc/gen/fabs.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: fabs.c,v 1.6 2011/07/08 22:28:33 martynas Exp $ */
+/* $OpenBSD: fabs.c,v 1.7 2012/12/05 23:19:58 deraadt Exp $ */
/*
* Copyright (c) 2002 Theo de Raadt
@@ -25,7 +25,6 @@
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
-#include <sys/cdefs.h>
#include <math.h>
double
diff --git a/lib/libc/arch/sh/gen/fabs.c b/lib/libc/arch/sh/gen/fabs.c
index b7396043b43..24740aed2bd 100644
--- a/lib/libc/arch/sh/gen/fabs.c
+++ b/lib/libc/arch/sh/gen/fabs.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: fabs.c,v 1.9 2011/07/08 22:28:33 martynas Exp $ */
+/* $OpenBSD: fabs.c,v 1.10 2012/12/05 23:19:59 deraadt Exp $ */
/*
* Copyright (c) 2006 Miodrag Vallat.
*
@@ -16,7 +16,6 @@
* OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
*/
-#include <sys/cdefs.h>
#if !defined(__SH4__) || defined(__SH4_NOFPU__)
#include <sys/types.h>
#include <machine/ieee.h>
diff --git a/lib/libc/arch/sparc64/fpu/fpu_add.c b/lib/libc/arch/sparc64/fpu/fpu_add.c
index 1eeb734594c..dbc820f0240 100644
--- a/lib/libc/arch/sparc64/fpu/fpu_add.c
+++ b/lib/libc/arch/sparc64/fpu/fpu_add.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: fpu_add.c,v 1.1 2003/07/21 18:41:30 jason Exp $ */
+/* $OpenBSD: fpu_add.c,v 1.2 2012/12/05 23:19:59 deraadt Exp $ */
/*
* Copyright (c) 1992, 1993
@@ -45,7 +45,6 @@
* $NetBSD: fpu_add.c,v 1.3 1996/03/14 19:41:52 christos Exp $
*/
-#include <sys/cdefs.h>
#if 0
__FBSDID("$FreeBSD: src/lib/libc/sparc64/fpu/fpu_add.c,v 1.4 2002/04/27 21:56:28 jake Exp $");
#endif
diff --git a/lib/libc/arch/sparc64/fpu/fpu_compare.c b/lib/libc/arch/sparc64/fpu/fpu_compare.c
index 7d2e7c84a94..d6bac29c0d0 100644
--- a/lib/libc/arch/sparc64/fpu/fpu_compare.c
+++ b/lib/libc/arch/sparc64/fpu/fpu_compare.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: fpu_compare.c,v 1.1 2003/07/21 18:41:30 jason Exp $ */
+/* $OpenBSD: fpu_compare.c,v 1.2 2012/12/05 23:19:59 deraadt Exp $ */
/*
* Copyright (c) 1992, 1993
@@ -45,7 +45,6 @@
* $NetBSD: fpu_compare.c,v 1.3 2001/08/26 05:46:31 eeh Exp $
*/
-#include <sys/cdefs.h>
#if 0
__FBSDID("$FreeBSD: src/lib/libc/sparc64/fpu/fpu_compare.c,v 1.4 2002/03/22 21:52:58 obrien Exp $");
#endif
diff --git a/lib/libc/arch/sparc64/fpu/fpu_div.c b/lib/libc/arch/sparc64/fpu/fpu_div.c
index b615e46c21f..46573a9eac2 100644
--- a/lib/libc/arch/sparc64/fpu/fpu_div.c
+++ b/lib/libc/arch/sparc64/fpu/fpu_div.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: fpu_div.c,v 1.1 2003/07/21 18:41:30 jason Exp $ */
+/* $OpenBSD: fpu_div.c,v 1.2 2012/12/05 23:19:59 deraadt Exp $ */
/*
* Copyright (c) 1992, 1993
@@ -45,7 +45,6 @@
* $NetBSD: fpu_div.c,v 1.2 1994/11/20 20:52:38 deraadt Exp $
*/
-#include <sys/cdefs.h>
#if 0
__FBSDID("$FreeBSD: src/lib/libc/sparc64/fpu/fpu_div.c,v 1.3 2002/03/22 21:52:58 obrien Exp $");
#endif
diff --git a/lib/libc/arch/sparc64/fpu/fpu_explode.c b/lib/libc/arch/sparc64/fpu/fpu_explode.c
index 6bda756d32c..5f9062199fe 100644
--- a/lib/libc/arch/sparc64/fpu/fpu_explode.c
+++ b/lib/libc/arch/sparc64/fpu/fpu_explode.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: fpu_explode.c,v 1.6 2006/12/23 23:40:49 deraadt Exp $ */
+/* $OpenBSD: fpu_explode.c,v 1.7 2012/12/05 23:19:59 deraadt Exp $ */
/*
* Copyright (c) 1992, 1993
@@ -45,7 +45,6 @@
* $NetBSD: fpu_explode.c,v 1.5 2000/08/03 18:32:08 eeh Exp $
*/
-#include <sys/cdefs.h>
#if 0
__FBSDID("$FreeBSD: src/lib/libc/sparc64/fpu/fpu_explode.c,v 1.5 2002/05/11 21:20:04 jake Exp $");
#endif
diff --git a/lib/libc/arch/sparc64/fpu/fpu_implode.c b/lib/libc/arch/sparc64/fpu/fpu_implode.c
index bd01cf2f969..20917b82b66 100644
--- a/lib/libc/arch/sparc64/fpu/fpu_implode.c
+++ b/lib/libc/arch/sparc64/fpu/fpu_implode.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: fpu_implode.c,v 1.2 2007/02/12 19:47:10 jason Exp $ */
+/* $OpenBSD: fpu_implode.c,v 1.3 2012/12/05 23:19:59 deraadt Exp $ */
/*
* Copyright (c) 1992, 1993
@@ -45,7 +45,6 @@
* $NetBSD: fpu_implode.c,v 1.8 2001/08/26 05:44:46 eeh Exp $
*/
-#include <sys/cdefs.h>
#if 0
__FBSDID("$FreeBSD: src/lib/libc/sparc64/fpu/fpu_implode.c,v 1.5 2002/04/27 21:56:28 jake Exp $");
#endif
diff --git a/lib/libc/arch/sparc64/fpu/fpu_mul.c b/lib/libc/arch/sparc64/fpu/fpu_mul.c
index 5115c00a288..7dbc24f113e 100644
--- a/lib/libc/arch/sparc64/fpu/fpu_mul.c
+++ b/lib/libc/arch/sparc64/fpu/fpu_mul.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: fpu_mul.c,v 1.1 2003/07/21 18:41:30 jason Exp $ */
+/* $OpenBSD: fpu_mul.c,v 1.2 2012/12/05 23:19:59 deraadt Exp $ */
/*
* Copyright (c) 1992, 1993
@@ -45,7 +45,6 @@
* $NetBSD: fpu_mul.c,v 1.2 1994/11/20 20:52:44 deraadt Exp $
*/
-#include <sys/cdefs.h>
#if 0
__FBSDID("$FreeBSD: src/lib/libc/sparc64/fpu/fpu_mul.c,v 1.3 2002/03/22 21:52:58 obrien Exp $");
#endif
diff --git a/lib/libc/arch/sparc64/fpu/fpu_qp.c b/lib/libc/arch/sparc64/fpu/fpu_qp.c
index a59eceeb858..8090a3ec6ff 100644
--- a/lib/libc/arch/sparc64/fpu/fpu_qp.c
+++ b/lib/libc/arch/sparc64/fpu/fpu_qp.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: fpu_qp.c,v 1.3 2012/12/03 20:09:40 kettenis Exp $ */
+/* $OpenBSD: fpu_qp.c,v 1.4 2012/12/05 23:19:59 deraadt Exp $ */
/*-
* Copyright (c) 2002 Jake Burkholder.
@@ -26,7 +26,6 @@
* SUCH DAMAGE.
*/
-#include <sys/cdefs.h>
#if 0
__FBSDID("$FreeBSD: src/lib/libc/sparc64/fpu/fpu_qp.c,v 1.3 2002/09/02 02:30:20 jake Exp $");
#endif
diff --git a/lib/libc/arch/sparc64/fpu/fpu_sqrt.c b/lib/libc/arch/sparc64/fpu/fpu_sqrt.c
index dc89f6ee1d8..bc493af5a87 100644
--- a/lib/libc/arch/sparc64/fpu/fpu_sqrt.c
+++ b/lib/libc/arch/sparc64/fpu/fpu_sqrt.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: fpu_sqrt.c,v 1.1 2003/07/21 18:41:30 jason Exp $ */
+/* $OpenBSD: fpu_sqrt.c,v 1.2 2012/12/05 23:19:59 deraadt Exp $ */
/*
* Copyright (c) 1992, 1993
@@ -45,7 +45,6 @@
* $NetBSD: fpu_sqrt.c,v 1.2 1994/11/20 20:52:46 deraadt Exp $
*/
-#include <sys/cdefs.h>
#if 0
__FBSDID("$FreeBSD: src/lib/libc/sparc64/fpu/fpu_sqrt.c,v 1.3 2002/03/22 21:52:58 obrien Exp $");
#endif
diff --git a/lib/libc/arch/sparc64/fpu/fpu_subr.c b/lib/libc/arch/sparc64/fpu/fpu_subr.c
index 6dd7a8121d4..a3560336637 100644
--- a/lib/libc/arch/sparc64/fpu/fpu_subr.c
+++ b/lib/libc/arch/sparc64/fpu/fpu_subr.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: fpu_subr.c,v 1.1 2003/07/21 18:41:30 jason Exp $ */
+/* $OpenBSD: fpu_subr.c,v 1.2 2012/12/05 23:19:59 deraadt Exp $ */
/*
* Copyright (c) 1992, 1993
@@ -45,7 +45,6 @@
* $NetBSD: fpu_subr.c,v 1.3 1996/03/14 19:42:01 christos Exp $
*/
-#include <sys/cdefs.h>
#if 0
__FBSDID("$FreeBSD: src/lib/libc/sparc64/fpu/fpu_subr.c,v 1.4 2002/04/27 21:56:28 jake Exp $");
#endif
diff --git a/lib/libc/arch/vax/gen/fpclassify.c b/lib/libc/arch/vax/gen/fpclassify.c
index c1ee38f3b4f..333324d487d 100644
--- a/lib/libc/arch/vax/gen/fpclassify.c
+++ b/lib/libc/arch/vax/gen/fpclassify.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: fpclassify.c,v 1.4 2011/07/02 19:27:34 martynas Exp $ */
+/* $OpenBSD: fpclassify.c,v 1.5 2012/12/05 23:19:59 deraadt Exp $ */
/*
* Copyright (c) 2008 Martynas Venckus <martynas@openbsd.org>
*
@@ -17,7 +17,6 @@
/* LINTLIBRARY */
-#include <sys/cdefs.h>
#include <machine/vaxfp.h>
#include <math.h>
diff --git a/lib/libc/arch/vax/gen/frexp.c b/lib/libc/arch/vax/gen/frexp.c
index d146e9b294d..e0e3bf0aac7 100644
--- a/lib/libc/arch/vax/gen/frexp.c
+++ b/lib/libc/arch/vax/gen/frexp.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: frexp.c,v 1.10 2011/07/08 22:28:33 martynas Exp $ */
+/* $OpenBSD: frexp.c,v 1.11 2012/12/05 23:19:59 deraadt Exp $ */
/*-
* Copyright (c) 1991, 1993
* The Regents of the University of California. All rights reserved.
@@ -30,7 +30,6 @@
/* LINTLIBRARY */
-#include <sys/cdefs.h>
#include <sys/types.h>
#include <math.h>
diff --git a/lib/libc/arch/vax/gen/isfinite.c b/lib/libc/arch/vax/gen/isfinite.c
index 809a768d1c6..005059cface 100644
--- a/lib/libc/arch/vax/gen/isfinite.c
+++ b/lib/libc/arch/vax/gen/isfinite.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: isfinite.c,v 1.4 2011/07/02 19:27:34 martynas Exp $ */
+/* $OpenBSD: isfinite.c,v 1.5 2012/12/05 23:19:59 deraadt Exp $ */
/*
* Copyright (c) Martynas Venckus <martynas@openbsd.org>
*
@@ -17,7 +17,6 @@
/* LINTLIBRARY */
-#include <sys/cdefs.h>
#include <math.h>
/* ARGSUSED */
diff --git a/lib/libc/arch/vax/gen/isinf.c b/lib/libc/arch/vax/gen/isinf.c
index 41c1d87d232..ca17a92cead 100644
--- a/lib/libc/arch/vax/gen/isinf.c
+++ b/lib/libc/arch/vax/gen/isinf.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: isinf.c,v 1.12 2011/07/02 19:27:34 martynas Exp $ */
+/* $OpenBSD: isinf.c,v 1.13 2012/12/05 23:19:59 deraadt Exp $ */
/*-
* Copyright (c) 1991, 1993
@@ -31,7 +31,7 @@
/* LINTLIBRARY */
-#include <sys/cdefs.h>
+#include <sys/types.h>
/* ARGSUSED */
int
diff --git a/lib/libc/arch/vax/gen/isnan.c b/lib/libc/arch/vax/gen/isnan.c
index 1e92c33a28e..1c715505a46 100644
--- a/lib/libc/arch/vax/gen/isnan.c
+++ b/lib/libc/arch/vax/gen/isnan.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: isnan.c,v 1.6 2011/07/02 19:27:34 martynas Exp $ */
+/* $OpenBSD: isnan.c,v 1.7 2012/12/05 23:19:59 deraadt Exp $ */
/*
* Copyright (c) Martynas Venckus <martynas@openbsd.org>
*
@@ -17,7 +17,7 @@
/* LINTLIBRARY */
-#include <sys/cdefs.h>
+#include <sys/types.h>
/* ARGSUSED */
int
diff --git a/lib/libc/arch/vax/gen/isnormal.c b/lib/libc/arch/vax/gen/isnormal.c
index 1bdafb246af..a8b41cabd6e 100644
--- a/lib/libc/arch/vax/gen/isnormal.c
+++ b/lib/libc/arch/vax/gen/isnormal.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: isnormal.c,v 1.4 2011/07/02 19:27:34 martynas Exp $ */
+/* $OpenBSD: isnormal.c,v 1.5 2012/12/05 23:19:59 deraadt Exp $ */
/*
* Copyright (c) 2008 Martynas Venckus <martynas@openbsd.org>
*
@@ -17,7 +17,7 @@
/* LINTLIBRARY */
-#include <sys/cdefs.h>
+#include <sys/types.h>
#include <machine/vaxfp.h>
#include <math.h>
diff --git a/lib/libc/arch/vax/gen/signbit.c b/lib/libc/arch/vax/gen/signbit.c
index e5a47f804b6..f80e201359c 100644
--- a/lib/libc/arch/vax/gen/signbit.c
+++ b/lib/libc/arch/vax/gen/signbit.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: signbit.c,v 1.4 2011/07/02 19:27:34 martynas Exp $ */
+/* $OpenBSD: signbit.c,v 1.5 2012/12/05 23:19:59 deraadt Exp $ */
/*
* Copyright (c) 2008 Martynas Venckus <martynas@openbsd.org>
*
@@ -17,7 +17,7 @@
/* LINTLIBRARY */
-#include <sys/cdefs.h>
+#include <sys/types.h>
#include <machine/vaxfp.h>
#include <math.h>
diff --git a/lib/libc/citrus/citrus_ctype.c b/lib/libc/citrus/citrus_ctype.c
index 32ee6f5c80c..129e10b37f2 100644
--- a/lib/libc/citrus/citrus_ctype.c
+++ b/lib/libc/citrus/citrus_ctype.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: citrus_ctype.c,v 1.2 2010/08/01 02:49:07 chl Exp $ */
+/* $OpenBSD: citrus_ctype.c,v 1.3 2012/12/05 23:19:59 deraadt Exp $ */
/* $NetBSD: citrus_ctype.c,v 1.5 2008/06/14 16:01:07 tnozaki Exp $ */
/*-
@@ -27,7 +27,6 @@
* SUCH DAMAGE.
*/
-#include <sys/cdefs.h>
#include <sys/types.h>
#include <errno.h>
#include <stdlib.h>
diff --git a/lib/libc/citrus/citrus_none.c b/lib/libc/citrus/citrus_none.c
index 9699bf88038..deed3aa8634 100644
--- a/lib/libc/citrus/citrus_none.c
+++ b/lib/libc/citrus/citrus_none.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: citrus_none.c,v 1.3 2012/06/06 16:58:02 matthew Exp $ */
+/* $OpenBSD: citrus_none.c,v 1.4 2012/12/05 23:19:59 deraadt Exp $ */
/* $NetBSD: citrus_none.c,v 1.18 2008/06/14 16:01:07 tnozaki Exp $ */
/*-
@@ -27,7 +27,6 @@
* SUCH DAMAGE.
*/
-#include <sys/cdefs.h>
#include <sys/types.h>
#include <errno.h>
diff --git a/lib/libc/citrus/citrus_utf8.c b/lib/libc/citrus/citrus_utf8.c
index 5b37b267e21..a6a2e70527a 100644
--- a/lib/libc/citrus/citrus_utf8.c
+++ b/lib/libc/citrus/citrus_utf8.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: citrus_utf8.c,v 1.5 2012/06/06 16:58:02 matthew Exp $ */
+/* $OpenBSD: citrus_utf8.c,v 1.6 2012/12/05 23:19:59 deraadt Exp $ */
/*-
* Copyright (c) 2002-2004 Tim J. Robbins
@@ -26,7 +26,6 @@
* SUCH DAMAGE.
*/
-#include <sys/cdefs.h>
#include <sys/errno.h>
#include <sys/param.h>
#include <sys/types.h>
diff --git a/lib/libc/gen/_sys_errlist.c b/lib/libc/gen/_sys_errlist.c
index 491fd6be9f2..eca96af95f0 100644
--- a/lib/libc/gen/_sys_errlist.c
+++ b/lib/libc/gen/_sys_errlist.c
@@ -1,10 +1,10 @@
-/* $OpenBSD: _sys_errlist.c,v 1.3 2005/08/08 08:05:33 espie Exp $ */
+/* $OpenBSD: _sys_errlist.c,v 1.4 2012/12/05 23:19:59 deraadt Exp $ */
/*
* Written by J.T. Conklin, December 12, 1994
* Public domain.
*/
-#include <sys/cdefs.h>
+#include <sys/types.h>
#ifdef __indr_reference
__indr_reference(_sys_errlist, sys_errlist);
diff --git a/lib/libc/gen/_sys_nerr.c b/lib/libc/gen/_sys_nerr.c
index fac273f8570..a053debdc9b 100644
--- a/lib/libc/gen/_sys_nerr.c
+++ b/lib/libc/gen/_sys_nerr.c
@@ -1,10 +1,10 @@
-/* $OpenBSD: _sys_nerr.c,v 1.3 2005/08/08 08:05:33 espie Exp $ */
+/* $OpenBSD: _sys_nerr.c,v 1.4 2012/12/05 23:19:59 deraadt Exp $ */
/*
* Written by J.T. Conklin, December 12, 1994
* Public domain.
*/
-#include <sys/cdefs.h>
+#include <sys/types.h>
#ifdef __indr_reference
__indr_reference(_sys_nerr, sys_nerr);
diff --git a/lib/libc/gen/_sys_siglist.c b/lib/libc/gen/_sys_siglist.c
index 2005c32908d..877709eb3a2 100644
--- a/lib/libc/gen/_sys_siglist.c
+++ b/lib/libc/gen/_sys_siglist.c
@@ -1,10 +1,10 @@
-/* $OpenBSD: _sys_siglist.c,v 1.3 2005/08/08 08:05:33 espie Exp $ */
+/* $OpenBSD: _sys_siglist.c,v 1.4 2012/12/05 23:19:59 deraadt Exp $ */
/*
* Written by J.T. Conklin, December 12, 1994
* Public domain.
*/
-#include <sys/cdefs.h>
+#include <sys/types.h>
#ifdef __indr_reference
__indr_reference(_sys_siglist, sys_siglist);
diff --git a/lib/libc/gen/err.c b/lib/libc/gen/err.c
index ff335938214..e7ec29de4fb 100644
--- a/lib/libc/gen/err.c
+++ b/lib/libc/gen/err.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: err.c,v 1.10 2011/05/30 18:48:33 martynas Exp $ */
+/* $OpenBSD: err.c,v 1.11 2012/12/05 23:19:59 deraadt Exp $ */
/*-
* Copyright (c) 1993
* The Regents of the University of California. All rights reserved.
@@ -28,7 +28,6 @@
* SUCH DAMAGE.
*/
-#include <sys/cdefs.h>
#include <err.h>
#include <stdarg.h>
diff --git a/lib/libc/gen/errx.c b/lib/libc/gen/errx.c
index 688e2576c67..d213435dbc7 100644
--- a/lib/libc/gen/errx.c
+++ b/lib/libc/gen/errx.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: errx.c,v 1.9 2011/05/30 18:48:33 martynas Exp $ */
+/* $OpenBSD: errx.c,v 1.10 2012/12/05 23:19:59 deraadt Exp $ */
/*-
* Copyright (c) 1993
* The Regents of the University of California. All rights reserved.
@@ -28,7 +28,6 @@
* SUCH DAMAGE.
*/
-#include <sys/cdefs.h>
#include <err.h>
#include <stdarg.h>
diff --git a/lib/libc/gen/fpclassify.c b/lib/libc/gen/fpclassify.c
index f38b67d64a1..d597531c1ea 100644
--- a/lib/libc/gen/fpclassify.c
+++ b/lib/libc/gen/fpclassify.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: fpclassify.c,v 1.5 2011/05/30 17:28:15 martynas Exp $ */
+/* $OpenBSD: fpclassify.c,v 1.6 2012/12/05 23:19:59 deraadt Exp $ */
/*
* Copyright (c) 2008 Martynas Venckus <martynas@openbsd.org>
*
@@ -18,7 +18,6 @@
/* LINTLIBRARY */
#include <sys/types.h>
-#include <sys/cdefs.h>
#include <machine/ieee.h>
#include <float.h>
#include <math.h>
diff --git a/lib/libc/gen/frexp.c b/lib/libc/gen/frexp.c
index 97cc624035a..9fce77b6362 100644
--- a/lib/libc/gen/frexp.c
+++ b/lib/libc/gen/frexp.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: frexp.c,v 1.7 2011/07/08 22:28:33 martynas Exp $ */
+/* $OpenBSD: frexp.c,v 1.8 2012/12/05 23:19:59 deraadt Exp $ */
/*-
* Copyright (c) 2004 David Schultz <das@FreeBSD.ORG>
@@ -31,7 +31,6 @@
/* LINTLIBRARY */
#include <sys/types.h>
-#include <sys/cdefs.h>
#include <machine/ieee.h>
#include <float.h>
#include <math.h>
diff --git a/lib/libc/gen/isfinite.c b/lib/libc/gen/isfinite.c
index 8ac908f2bc8..9adda1cc981 100644
--- a/lib/libc/gen/isfinite.c
+++ b/lib/libc/gen/isfinite.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: isfinite.c,v 1.5 2011/05/30 17:28:15 martynas Exp $ */
+/* $OpenBSD: isfinite.c,v 1.6 2012/12/05 23:19:59 deraadt Exp $ */
/*
* Copyright (c) 2008 Martynas Venckus <martynas@openbsd.org>
*
@@ -18,7 +18,6 @@
/* LINTLIBRARY */
#include <sys/types.h>
-#include <sys/cdefs.h>
#include <machine/ieee.h>
#include <float.h>
#include <math.h>
diff --git a/lib/libc/gen/isinf.c b/lib/libc/gen/isinf.c
index dbcde156dd3..264864cbad3 100644
--- a/lib/libc/gen/isinf.c
+++ b/lib/libc/gen/isinf.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: isinf.c,v 1.6 2011/07/02 19:27:34 martynas Exp $ */
+/* $OpenBSD: isinf.c,v 1.7 2012/12/05 23:19:59 deraadt Exp $ */
/*
* Copyright (c) 2008 Martynas Venckus <martynas@openbsd.org>
*
@@ -18,7 +18,6 @@
/* LINTLIBRARY */
#include <sys/types.h>
-#include <sys/cdefs.h>
#include <machine/ieee.h>
#include <float.h>
diff --git a/lib/libc/gen/isnan.c b/lib/libc/gen/isnan.c
index 378df5bf5b3..e34849ac480 100644
--- a/lib/libc/gen/isnan.c
+++ b/lib/libc/gen/isnan.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: isnan.c,v 1.5 2011/05/30 17:28:15 martynas Exp $ */
+/* $OpenBSD: isnan.c,v 1.6 2012/12/05 23:19:59 deraadt Exp $ */
/*
* Copyright (c) 2008 Martynas Venckus <martynas@openbsd.org>
*
@@ -18,7 +18,6 @@
/* LINTLIBRARY */
#include <sys/types.h>
-#include <sys/cdefs.h>
#include <machine/ieee.h>
#include <float.h>
diff --git a/lib/libc/gen/isnormal.c b/lib/libc/gen/isnormal.c
index ecb7972932f..19a43263c79 100644
--- a/lib/libc/gen/isnormal.c
+++ b/lib/libc/gen/isnormal.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: isnormal.c,v 1.5 2011/05/30 17:28:15 martynas Exp $ */
+/* $OpenBSD: isnormal.c,v 1.6 2012/12/05 23:19:59 deraadt Exp $ */
/*
* Copyright (c) 2008 Martynas Venckus <martynas@openbsd.org>
*
@@ -18,7 +18,6 @@
/* LINTLIBRARY */
#include <sys/types.h>
-#include <sys/cdefs.h>
#include <machine/ieee.h>
#include <float.h>
#include <math.h>
diff --git a/lib/libc/gen/ldexp.c b/lib/libc/gen/ldexp.c
index 3192977332c..8fd78555a52 100644
--- a/lib/libc/gen/ldexp.c
+++ b/lib/libc/gen/ldexp.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: ldexp.c,v 1.5 2011/07/26 11:43:01 martynas Exp $ */
+/* $OpenBSD: ldexp.c,v 1.6 2012/12/05 23:20:00 deraadt Exp $ */
/* @(#)s_scalbn.c 5.1 93/09/24 */
/* @(#)fdlibm.h 5.1 93/09/24 */
/*
@@ -15,7 +15,6 @@
/* LINTLIBRARY */
#include <sys/types.h>
-#include <sys/cdefs.h>
#include <machine/endian.h>
#include <float.h>
#include <math.h>
diff --git a/lib/libc/gen/posix_spawn.c b/lib/libc/gen/posix_spawn.c
index 45fbb1973de..acfe68c63c5 100644
--- a/lib/libc/gen/posix_spawn.c
+++ b/lib/libc/gen/posix_spawn.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: posix_spawn.c,v 1.2 2012/03/22 15:43:08 deraadt Exp $ */
+/* $OpenBSD: posix_spawn.c,v 1.3 2012/12/05 23:20:00 deraadt Exp $ */
/*-
* Copyright (c) 2008 Ed Schouten <ed@FreeBSD.org>
* All rights reserved.
@@ -25,8 +25,6 @@
* SUCH DAMAGE.
*/
-#include <sys/cdefs.h>
-
#include "namespace.h"
#include <sys/queue.h>
diff --git a/lib/libc/gen/siglist.c b/lib/libc/gen/siglist.c
index c0c049cae66..70002c538b5 100644
--- a/lib/libc/gen/siglist.c
+++ b/lib/libc/gen/siglist.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: siglist.c,v 1.5 2009/11/27 19:47:45 guenther Exp $ */
+/* $OpenBSD: siglist.c,v 1.6 2012/12/05 23:20:00 deraadt Exp $ */
/*
* Copyright (c) 1983, 1993
* The Regents of the University of California. All rights reserved.
@@ -28,7 +28,6 @@
* SUCH DAMAGE.
*/
-#include <sys/cdefs.h>
#include <signal.h>
const char *const _sys_siglist[NSIG] = {
diff --git a/lib/libc/gen/signbit.c b/lib/libc/gen/signbit.c
index 35b6f4c07c0..2dbcd84a2a5 100644
--- a/lib/libc/gen/signbit.c
+++ b/lib/libc/gen/signbit.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: signbit.c,v 1.4 2011/05/30 17:28:15 martynas Exp $ */
+/* $OpenBSD: signbit.c,v 1.5 2012/12/05 23:20:00 deraadt Exp $ */
/*
* Copyright (c) 2008 Martynas Venckus <martynas@openbsd.org>
*
@@ -18,7 +18,6 @@
/* LINTLIBRARY */
#include <sys/types.h>
-#include <sys/cdefs.h>
#include <machine/ieee.h>
#include <float.h>
#include <math.h>
diff --git a/lib/libc/gen/verr.c b/lib/libc/gen/verr.c
index fdf07ed0b58..dcd8edcd06c 100644
--- a/lib/libc/gen/verr.c
+++ b/lib/libc/gen/verr.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: verr.c,v 1.8 2005/08/08 08:05:34 espie Exp $ */
+/* $OpenBSD: verr.c,v 1.9 2012/12/05 23:20:00 deraadt Exp $ */
/*-
* Copyright (c) 1993
* The Regents of the University of California. All rights reserved.
@@ -28,7 +28,6 @@
* SUCH DAMAGE.
*/
-#include <sys/cdefs.h>
#include <err.h>
#include <errno.h>
#include <stdio.h>
diff --git a/lib/libc/gen/verrx.c b/lib/libc/gen/verrx.c
index 9e3cf54e4a7..60da062f5af 100644
--- a/lib/libc/gen/verrx.c
+++ b/lib/libc/gen/verrx.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: verrx.c,v 1.8 2005/08/08 08:05:34 espie Exp $ */
+/* $OpenBSD: verrx.c,v 1.9 2012/12/05 23:20:00 deraadt Exp $ */
/*-
* Copyright (c) 1993
* The Regents of the University of California. All rights reserved.
@@ -28,7 +28,6 @@
* SUCH DAMAGE.
*/
-#include <sys/cdefs.h>
#include <err.h>
#include <stdio.h>
#include <stdlib.h>
diff --git a/lib/libc/gen/vwarn.c b/lib/libc/gen/vwarn.c
index 41ab3698727..26b60f33641 100644
--- a/lib/libc/gen/vwarn.c
+++ b/lib/libc/gen/vwarn.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: vwarn.c,v 1.8 2005/08/08 08:05:34 espie Exp $ */
+/* $OpenBSD: vwarn.c,v 1.9 2012/12/05 23:20:00 deraadt Exp $ */
/*-
* Copyright (c) 1993
* The Regents of the University of California. All rights reserved.
@@ -28,7 +28,6 @@
* SUCH DAMAGE.
*/
-#include <sys/cdefs.h>
#include <err.h>
#include <errno.h>
#include <stdio.h>
diff --git a/lib/libc/gen/vwarnx.c b/lib/libc/gen/vwarnx.c
index 41fda8e901a..e6b1957d4f3 100644
--- a/lib/libc/gen/vwarnx.c
+++ b/lib/libc/gen/vwarnx.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: vwarnx.c,v 1.8 2005/08/08 08:05:34 espie Exp $ */
+/* $OpenBSD: vwarnx.c,v 1.9 2012/12/05 23:20:00 deraadt Exp $ */
/*-
* Copyright (c) 1993
* The Regents of the University of California. All rights reserved.
@@ -28,7 +28,6 @@
* SUCH DAMAGE.
*/
-#include <sys/cdefs.h>
#include <err.h>
#include <stdio.h>
#include <stdarg.h>
diff --git a/lib/libc/gen/warn.c b/lib/libc/gen/warn.c
index 4da071155de..c1b47a65f27 100644
--- a/lib/libc/gen/warn.c
+++ b/lib/libc/gen/warn.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: warn.c,v 1.9 2011/05/30 18:48:33 martynas Exp $ */
+/* $OpenBSD: warn.c,v 1.10 2012/12/05 23:20:00 deraadt Exp $ */
/*-
* Copyright (c) 1993
* The Regents of the University of California. All rights reserved.
@@ -28,7 +28,6 @@
* SUCH DAMAGE.
*/
-#include <sys/cdefs.h>
#include <err.h>
#include <stdarg.h>
diff --git a/lib/libc/gen/warnx.c b/lib/libc/gen/warnx.c
index 8a94cbd0905..af2ab669cc7 100644
--- a/lib/libc/gen/warnx.c
+++ b/lib/libc/gen/warnx.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: warnx.c,v 1.8 2011/05/30 18:48:33 martynas Exp $ */
+/* $OpenBSD: warnx.c,v 1.9 2012/12/05 23:20:00 deraadt Exp $ */
/*-
* Copyright (c) 1993
* The Regents of the University of California. All rights reserved.
@@ -28,7 +28,6 @@
* SUCH DAMAGE.
*/
-#include <sys/cdefs.h>
#include <err.h>
#include <stdarg.h>
diff --git a/lib/libc/locale/___runetype_mb.c b/lib/libc/locale/___runetype_mb.c
index c2eddf6cbe3..502a04de7fb 100644
--- a/lib/libc/locale/___runetype_mb.c
+++ b/lib/libc/locale/___runetype_mb.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: ___runetype_mb.c,v 1.1 2005/08/07 10:16:23 espie Exp $ */
+/* $OpenBSD: ___runetype_mb.c,v 1.2 2012/12/05 23:20:00 deraadt Exp $ */
/* $NetBSD: ___runetype_mb.c,v 1.10 2005/02/10 19:19:57 tnozaki Exp $ */
/*-
@@ -33,8 +33,6 @@
* SUCH DAMAGE.
*/
-#include <sys/cdefs.h>
-
#include <wctype.h>
#include "rune.h"
#include "rune_local.h"
diff --git a/lib/libc/locale/_wctrans.c b/lib/libc/locale/_wctrans.c
index 3960ac216a4..4394587bf68 100644
--- a/lib/libc/locale/_wctrans.c
+++ b/lib/libc/locale/_wctrans.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: _wctrans.c,v 1.1 2005/08/07 10:16:23 espie Exp $ */
+/* $OpenBSD: _wctrans.c,v 1.2 2012/12/05 23:20:00 deraadt Exp $ */
/* $NetBSD: _wctrans.c,v 1.6 2005/02/10 19:19:57 tnozaki Exp $ */
/*-
@@ -59,8 +59,6 @@
* SUCH DAMAGE.
*/
-#include <sys/cdefs.h>
-
#include <wctype.h>
#include <stdlib.h>
#include <string.h>
diff --git a/lib/libc/locale/btowc.c b/lib/libc/locale/btowc.c
index e1c6893bca9..96273401ea2 100644
--- a/lib/libc/locale/btowc.c
+++ b/lib/libc/locale/btowc.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: btowc.c,v 1.1 2010/07/27 16:59:03 stsp Exp $ */
+/* $OpenBSD: btowc.c,v 1.2 2012/12/05 23:20:00 deraadt Exp $ */
/*-
* Copyright (c) 2002, 2003 Tim J. Robbins.
@@ -26,8 +26,6 @@
* SUCH DAMAGE.
*/
-#include <sys/cdefs.h>
-
#include <stdio.h>
#include <string.h>
#include <wchar.h>
diff --git a/lib/libc/locale/iswctype.c b/lib/libc/locale/iswctype.c
index 1ffb655e1b8..ee4c82df341 100644
--- a/lib/libc/locale/iswctype.c
+++ b/lib/libc/locale/iswctype.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: iswctype.c,v 1.2 2011/04/15 16:11:23 stsp Exp $ */
+/* $OpenBSD: iswctype.c,v 1.3 2012/12/05 23:20:00 deraadt Exp $ */
/* $NetBSD: iswctype.c,v 1.15 2005/02/09 21:35:46 kleink Exp $ */
/*
@@ -35,8 +35,6 @@
* SUCH DAMAGE.
*/
-#include <sys/cdefs.h>
-
#include <wchar.h>
#include <wctype.h>
#include <ctype.h>
diff --git a/lib/libc/locale/mblen.c b/lib/libc/locale/mblen.c
index 56d718e69f4..259e8f582ec 100644
--- a/lib/libc/locale/mblen.c
+++ b/lib/libc/locale/mblen.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: mblen.c,v 1.1 2010/07/27 16:59:04 stsp Exp $ */
+/* $OpenBSD: mblen.c,v 1.2 2012/12/05 23:20:00 deraadt Exp $ */
/*-
* Copyright (c) 2002-2004 Tim J. Robbins.
@@ -26,8 +26,6 @@
* SUCH DAMAGE.
*/
-#include <sys/cdefs.h>
-
#include <stdlib.h>
#include <string.h>
#include <wchar.h>
diff --git a/lib/libc/locale/mbrlen.c b/lib/libc/locale/mbrlen.c
index 97c48d2d6ad..0f05bd0721e 100644
--- a/lib/libc/locale/mbrlen.c
+++ b/lib/libc/locale/mbrlen.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: mbrlen.c,v 1.1 2010/07/27 16:59:04 stsp Exp $ */
+/* $OpenBSD: mbrlen.c,v 1.2 2012/12/05 23:20:00 deraadt Exp $ */
/*-
* Copyright (c) 2002-2004 Tim J. Robbins.
@@ -26,8 +26,6 @@
* SUCH DAMAGE.
*/
-#include <sys/cdefs.h>
-
#include <wchar.h>
size_t
diff --git a/lib/libc/locale/mbstowcs.c b/lib/libc/locale/mbstowcs.c
index 7ea97e4b614..c17a858278e 100644
--- a/lib/libc/locale/mbstowcs.c
+++ b/lib/libc/locale/mbstowcs.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: mbstowcs.c,v 1.1 2010/07/27 16:59:04 stsp Exp $ */
+/* $OpenBSD: mbstowcs.c,v 1.2 2012/12/05 23:20:00 deraadt Exp $ */
/*-
* Copyright (c) 2002-2004 Tim J. Robbins.
@@ -26,7 +26,6 @@
* SUCH DAMAGE.
*/
-#include <sys/cdefs.h>
#include <limits.h>
#include <stdlib.h>
diff --git a/lib/libc/locale/mbtowc.c b/lib/libc/locale/mbtowc.c
index e0dcff0b915..920f4bf26ed 100644
--- a/lib/libc/locale/mbtowc.c
+++ b/lib/libc/locale/mbtowc.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: mbtowc.c,v 1.1 2010/07/27 16:59:04 stsp Exp $ */
+/* $OpenBSD: mbtowc.c,v 1.2 2012/12/05 23:20:00 deraadt Exp $ */
/*-
* Copyright (c) 2002-2004 Tim J. Robbins.
@@ -26,7 +26,6 @@
* SUCH DAMAGE.
*/
-#include <sys/cdefs.h>
#include <stdlib.h>
#include <string.h>
diff --git a/lib/libc/locale/multibyte_citrus.c b/lib/libc/locale/multibyte_citrus.c
index 7cdf6090485..c5a3ad740f0 100644
--- a/lib/libc/locale/multibyte_citrus.c
+++ b/lib/libc/locale/multibyte_citrus.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: multibyte_citrus.c,v 1.3 2012/08/14 08:47:58 chl Exp $ */
+/* $OpenBSD: multibyte_citrus.c,v 1.4 2012/12/05 23:20:00 deraadt Exp $ */
/* $NetBSD: multibyte_amd1.c,v 1.7 2009/01/11 02:46:28 christos Exp $ */
/*-
@@ -27,7 +27,6 @@
* SUCH DAMAGE.
*/
-#include <sys/cdefs.h>
#include <sys/types.h>
#include <errno.h>
#include <limits.h>
diff --git a/lib/libc/locale/rune.c b/lib/libc/locale/rune.c
index 1ccd0871a61..8b7a4632531 100644
--- a/lib/libc/locale/rune.c
+++ b/lib/libc/locale/rune.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: rune.c,v 1.2 2006/04/02 21:38:57 djm Exp $ */
+/* $OpenBSD: rune.c,v 1.3 2012/12/05 23:20:00 deraadt Exp $ */
/* $NetBSD: rune.c,v 1.26 2004/05/09 11:26:33 kleink Exp $ */
/*-
@@ -59,8 +59,6 @@
* SUCH DAMAGE.
*/
-#include <sys/cdefs.h>
-
#include <assert.h>
#include <stdio.h>
#include <string.h>
diff --git a/lib/libc/locale/runeglue.c b/lib/libc/locale/runeglue.c
index 20c5dae88c7..5ce28100952 100644
--- a/lib/libc/locale/runeglue.c
+++ b/lib/libc/locale/runeglue.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: runeglue.c,v 1.2 2011/04/03 21:07:34 stsp Exp $ */
+/* $OpenBSD: runeglue.c,v 1.3 2012/12/05 23:20:00 deraadt Exp $ */
/* $NetBSD: runeglue.c,v 1.10 2003/03/10 21:18:49 tshiozak Exp $ */
/*-
@@ -34,8 +34,6 @@
* This is important to keep backward/future compatibility.
*/
-#include <sys/cdefs.h>
-
#include <assert.h>
#include <limits.h>
#include <stdio.h>
diff --git a/lib/libc/locale/runetable.c b/lib/libc/locale/runetable.c
index d78c691ccc3..8027a187f7c 100644
--- a/lib/libc/locale/runetable.c
+++ b/lib/libc/locale/runetable.c
@@ -34,8 +34,6 @@
* $FreeBSD: src/lib/libc/locale/table.c,v 1.13 2000/02/08 07:43:25 obrien Exp $
*/
-#include <sys/cdefs.h>
-
#include <stdlib.h>
#include <ctype.h>
#include <locale.h>
diff --git a/lib/libc/locale/runetype.h b/lib/libc/locale/runetype.h
index 8a9a7e5e7cc..c39ec6dce65 100644
--- a/lib/libc/locale/runetype.h
+++ b/lib/libc/locale/runetype.h
@@ -1,7 +1,7 @@
#ifndef _NB_RUNETYPE_H_
#define _NB_RUNETYPE_H_
-/* $OpenBSD: runetype.h,v 1.6 2011/03/13 11:42:22 stsp Exp $ */
+/* $OpenBSD: runetype.h,v 1.7 2012/12/05 23:20:00 deraadt Exp $ */
/* $NetBSD: runetype.h,v 1.18 2003/08/07 16:43:04 agc Exp $ */
/*-
* Copyright (c) 1993
@@ -37,7 +37,6 @@
* @(#)runetype.h 8.1 (Berkeley) 6/2/93
*/
-#include <sys/cdefs.h>
#include <sys/types.h>
#include "ctype_private.h"
diff --git a/lib/libc/locale/setrunelocale.c b/lib/libc/locale/setrunelocale.c
index ff485551849..f4598692d78 100644
--- a/lib/libc/locale/setrunelocale.c
+++ b/lib/libc/locale/setrunelocale.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: setrunelocale.c,v 1.6 2011/03/15 22:27:48 stsp Exp $ */
+/* $OpenBSD: setrunelocale.c,v 1.7 2012/12/05 23:20:00 deraadt Exp $ */
/* $NetBSD: setrunelocale.c,v 1.14 2003/08/07 16:43:07 agc Exp $ */
/*-
@@ -88,8 +88,6 @@
* SUCH DAMAGE.
*/
-#include <sys/cdefs.h>
-
#include "rune.h"
#include <assert.h>
#include <errno.h>
diff --git a/lib/libc/locale/wcscoll.c b/lib/libc/locale/wcscoll.c
index 6d476690c54..8ec32ceffc0 100644
--- a/lib/libc/locale/wcscoll.c
+++ b/lib/libc/locale/wcscoll.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: wcscoll.c,v 1.1 2010/07/27 16:59:04 stsp Exp $ */
+/* $OpenBSD: wcscoll.c,v 1.2 2012/12/05 23:20:00 deraadt Exp $ */
/* $NetBSD: wcscoll.c,v 1.1 2003/03/02 22:18:16 tshiozak Exp $ */
/*-
@@ -27,8 +27,6 @@
* SUCH DAMAGE.
*/
-#include <sys/cdefs.h>
-
#include <assert.h>
#include <wchar.h>
diff --git a/lib/libc/locale/wcstombs.c b/lib/libc/locale/wcstombs.c
index 024e3afe874..e8054c401b5 100644
--- a/lib/libc/locale/wcstombs.c
+++ b/lib/libc/locale/wcstombs.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: wcstombs.c,v 1.1 2010/07/27 16:59:04 stsp Exp $ */
+/* $OpenBSD: wcstombs.c,v 1.2 2012/12/05 23:20:00 deraadt Exp $ */
/*-
* Copyright (c) 2002-2004 Tim J. Robbins.
@@ -26,8 +26,6 @@
* SUCH DAMAGE.
*/
-#include <sys/cdefs.h>
-
#include <limits.h>
#include <stdlib.h>
#include <string.h>
diff --git a/lib/libc/locale/wcsxfrm.c b/lib/libc/locale/wcsxfrm.c
index d2e9ff3fdfd..98db4a98fab 100644
--- a/lib/libc/locale/wcsxfrm.c
+++ b/lib/libc/locale/wcsxfrm.c
@@ -1,5 +1,5 @@
-/* $OpenBSD: wcsxfrm.c,v 1.1 2010/07/27 16:59:04 stsp Exp $ */
-/* $OpenBSD: wcsxfrm.c,v 1.1 2010/07/27 16:59:04 stsp Exp $ */
+/* $OpenBSD: wcsxfrm.c,v 1.2 2012/12/05 23:20:00 deraadt Exp $ */
+/* $OpenBSD: wcsxfrm.c,v 1.2 2012/12/05 23:20:00 deraadt Exp $ */
/* $NetBSD: multibyte_sb.c,v 1.4 2003/08/07 16:43:04 agc Exp $ */
/*
@@ -31,7 +31,6 @@
* SUCH DAMAGE.
*/
-#include <sys/cdefs.h>
#include <wchar.h>
size_t
diff --git a/lib/libc/locale/wctob.c b/lib/libc/locale/wctob.c
index cc5a07c1484..ea1f40c58aa 100644
--- a/lib/libc/locale/wctob.c
+++ b/lib/libc/locale/wctob.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: wctob.c,v 1.1 2010/07/27 16:59:04 stsp Exp $ */
+/* $OpenBSD: wctob.c,v 1.2 2012/12/05 23:20:00 deraadt Exp $ */
/*-
* Copyright (c) 2002-2004 Tim J. Robbins.
* All rights reserved.
@@ -25,8 +25,6 @@
* SUCH DAMAGE.
*/
-#include <sys/cdefs.h>
-
#include <limits.h>
#include <stdio.h>
#include <string.h>
diff --git a/lib/libc/locale/wctomb.c b/lib/libc/locale/wctomb.c
index 9cd1ee4d362..39f7a7c769c 100644
--- a/lib/libc/locale/wctomb.c
+++ b/lib/libc/locale/wctomb.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: wctomb.c,v 1.1 2010/07/27 16:59:04 stsp Exp $ */
+/* $OpenBSD: wctomb.c,v 1.2 2012/12/05 23:20:00 deraadt Exp $ */
/*-
* Copyright (c) 2002-2004 Tim J. Robbins.
@@ -26,8 +26,6 @@
* SUCH DAMAGE.
*/
-#include <sys/cdefs.h>
-
#include <stdlib.h>
#include <string.h>
#include <wchar.h>
diff --git a/lib/libc/nls/_catclose.c b/lib/libc/nls/_catclose.c
index 239f5304386..4fdf78781d6 100644
--- a/lib/libc/nls/_catclose.c
+++ b/lib/libc/nls/_catclose.c
@@ -1,10 +1,10 @@
-/* $OpenBSD: _catclose.c,v 1.5 2005/08/05 13:03:00 espie Exp $ */
+/* $OpenBSD: _catclose.c,v 1.6 2012/12/05 23:20:00 deraadt Exp $ */
/*
* Written by J.T. Conklin, 10/05/94
* Public domain.
*/
-#include <sys/cdefs.h>
+#include <sys/types.h>
#ifdef __indr_reference
__indr_reference(_catclose,catclose);
diff --git a/lib/libc/nls/_catgets.c b/lib/libc/nls/_catgets.c
index 36402bd0ef6..532faeec6cf 100644
--- a/lib/libc/nls/_catgets.c
+++ b/lib/libc/nls/_catgets.c
@@ -1,10 +1,10 @@
-/* $OpenBSD: _catgets.c,v 1.5 2005/08/05 13:03:00 espie Exp $ */
+/* $OpenBSD: _catgets.c,v 1.6 2012/12/05 23:20:00 deraadt Exp $ */
/*
* Written by J.T. Conklin, 10/05/94
* Public domain.
*/
-#include <sys/cdefs.h>
+#include <sys/types.h>
#ifdef __indr_reference
__indr_reference(_catgets,catgets);
diff --git a/lib/libc/nls/_catopen.c b/lib/libc/nls/_catopen.c
index d07c2a85cc9..5107826ecfc 100644
--- a/lib/libc/nls/_catopen.c
+++ b/lib/libc/nls/_catopen.c
@@ -1,10 +1,10 @@
-/* $OpenBSD: _catopen.c,v 1.6 2005/08/05 13:03:00 espie Exp $ */
+/* $OpenBSD: _catopen.c,v 1.7 2012/12/05 23:20:00 deraadt Exp $ */
/*
* Written by J.T. Conklin, 10/05/94
* Public domain.
*/
-#include <sys/cdefs.h>
+#include <sys/types.h>
#ifdef __indr_reference
__indr_reference(_catopen,catopen);
diff --git a/lib/libc/softfloat/eqdf2.c b/lib/libc/softfloat/eqdf2.c
index c331c037809..142133547a5 100644
--- a/lib/libc/softfloat/eqdf2.c
+++ b/lib/libc/softfloat/eqdf2.c
@@ -1,12 +1,10 @@
-/* $OpenBSD: eqdf2.c,v 1.1 2006/11/06 15:11:37 drahn Exp $ */
+/* $OpenBSD: eqdf2.c,v 1.2 2012/12/05 23:20:00 deraadt Exp $ */
/* $NetBSD: eqdf2.c,v 1.1 2000/06/06 08:15:02 bjh21 Exp $ */
/*
* Written by Ben Harris, 2000. This file is in the Public Domain.
*/
-#include <sys/cdefs.h>
-
#include "softfloat-for-gcc.h"
#include "milieu.h"
#include "softfloat.h"
diff --git a/lib/libc/softfloat/eqsf2.c b/lib/libc/softfloat/eqsf2.c
index 416034abe6e..0c11cf2b4da 100644
--- a/lib/libc/softfloat/eqsf2.c
+++ b/lib/libc/softfloat/eqsf2.c
@@ -1,12 +1,10 @@
-/* $OpenBSD: eqsf2.c,v 1.1 2006/11/06 15:11:37 drahn Exp $ */
+/* $OpenBSD: eqsf2.c,v 1.2 2012/12/05 23:20:00 deraadt Exp $ */
/* $NetBSD: eqsf2.c,v 1.1 2000/06/06 08:15:03 bjh21 Exp $ */
/*
* Written by Ben Harris, 2000. This file is in the Public Domain.
*/
-#include <sys/cdefs.h>
-
#include "softfloat-for-gcc.h"
#include "milieu.h"
#include "softfloat.h"
diff --git a/lib/libc/softfloat/fpgetmask.c b/lib/libc/softfloat/fpgetmask.c
index 579de0836ca..f977c841e94 100644
--- a/lib/libc/softfloat/fpgetmask.c
+++ b/lib/libc/softfloat/fpgetmask.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: fpgetmask.c,v 1.2 2008/06/26 05:42:05 ray Exp $ */
+/* $OpenBSD: fpgetmask.c,v 1.3 2012/12/05 23:20:00 deraadt Exp $ */
/* $NetBSD: fpgetmask.c,v 1.3 2002/05/12 13:12:45 bjh21 Exp $ */
/*-
@@ -30,8 +30,6 @@
* POSSIBILITY OF SUCH DAMAGE.
*/
-#include <sys/cdefs.h>
-
#include "namespace.h"
#include <ieeefp.h>
diff --git a/lib/libc/softfloat/fpgetround.c b/lib/libc/softfloat/fpgetround.c
index 3fda3007cc5..bf6ad2d4d3f 100644
--- a/lib/libc/softfloat/fpgetround.c
+++ b/lib/libc/softfloat/fpgetround.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: fpgetround.c,v 1.2 2008/06/26 05:42:05 ray Exp $ */
+/* $OpenBSD: fpgetround.c,v 1.3 2012/12/05 23:20:01 deraadt Exp $ */
/* $NetBSD: fpgetround.c,v 1.2 2002/01/13 21:45:53 thorpej Exp $ */
/*-
@@ -30,8 +30,6 @@
* POSSIBILITY OF SUCH DAMAGE.
*/
-#include <sys/cdefs.h>
-
#include "namespace.h"
#include <ieeefp.h>
diff --git a/lib/libc/softfloat/fpgetsticky.c b/lib/libc/softfloat/fpgetsticky.c
index b40a469a84a..c8b7c114f5b 100644
--- a/lib/libc/softfloat/fpgetsticky.c
+++ b/lib/libc/softfloat/fpgetsticky.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: fpgetsticky.c,v 1.2 2008/06/26 05:42:05 ray Exp $ */
+/* $OpenBSD: fpgetsticky.c,v 1.3 2012/12/05 23:20:01 deraadt Exp $ */
/* $NetBSD: fpgetsticky.c,v 1.2 2002/01/13 21:45:53 thorpej Exp $ */
/*-
@@ -30,8 +30,6 @@
* POSSIBILITY OF SUCH DAMAGE.
*/
-#include <sys/cdefs.h>
-
#include "namespace.h"
#include <ieeefp.h>
diff --git a/lib/libc/softfloat/fpsetmask.c b/lib/libc/softfloat/fpsetmask.c
index fd729ec2842..50d694cd393 100644
--- a/lib/libc/softfloat/fpsetmask.c
+++ b/lib/libc/softfloat/fpsetmask.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: fpsetmask.c,v 1.2 2008/06/26 05:42:05 ray Exp $ */
+/* $OpenBSD: fpsetmask.c,v 1.3 2012/12/05 23:20:01 deraadt Exp $ */
/* $NetBSD: fpsetmask.c,v 1.3 2002/05/12 13:12:45 bjh21 Exp $ */
/*-
@@ -30,8 +30,6 @@
* POSSIBILITY OF SUCH DAMAGE.
*/
-#include <sys/cdefs.h>
-
#include "namespace.h"
#include <ieeefp.h>
diff --git a/lib/libc/softfloat/fpsetround.c b/lib/libc/softfloat/fpsetround.c
index 9f39648ed3d..ece434367e8 100644
--- a/lib/libc/softfloat/fpsetround.c
+++ b/lib/libc/softfloat/fpsetround.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: fpsetround.c,v 1.2 2008/06/26 05:42:05 ray Exp $ */
+/* $OpenBSD: fpsetround.c,v 1.3 2012/12/05 23:20:01 deraadt Exp $ */
/* $NetBSD: fpsetround.c,v 1.2 2002/01/13 21:45:53 thorpej Exp $ */
/*-
@@ -30,8 +30,6 @@
* POSSIBILITY OF SUCH DAMAGE.
*/
-#include <sys/cdefs.h>
-
#include "namespace.h"
#include <ieeefp.h>
diff --git a/lib/libc/softfloat/fpsetsticky.c b/lib/libc/softfloat/fpsetsticky.c
index 6d55819da85..ba2fc2adec9 100644
--- a/lib/libc/softfloat/fpsetsticky.c
+++ b/lib/libc/softfloat/fpsetsticky.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: fpsetsticky.c,v 1.2 2008/06/26 05:42:05 ray Exp $ */
+/* $OpenBSD: fpsetsticky.c,v 1.3 2012/12/05 23:20:01 deraadt Exp $ */
/* $NetBSD: fpsetsticky.c,v 1.2 2002/01/13 21:45:54 thorpej Exp $ */
/*-
@@ -30,8 +30,6 @@
* POSSIBILITY OF SUCH DAMAGE.
*/
-#include <sys/cdefs.h>
-
#include "namespace.h"
#include <ieeefp.h>
diff --git a/lib/libc/softfloat/gedf2.c b/lib/libc/softfloat/gedf2.c
index 747fc779570..b6db9291951 100644
--- a/lib/libc/softfloat/gedf2.c
+++ b/lib/libc/softfloat/gedf2.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: gedf2.c,v 1.1 2006/11/06 15:11:37 drahn Exp $ */
+/* $OpenBSD: gedf2.c,v 1.2 2012/12/05 23:20:01 deraadt Exp $ */
/* $NetBSD: gedf2.c,v 1.1 2000/06/06 08:15:05 bjh21 Exp $ */
/*
@@ -9,8 +9,6 @@
#include "milieu.h"
#include "softfloat.h"
-#include <sys/cdefs.h>
-
flag __gedf2(float64, float64);
flag
diff --git a/lib/libc/softfloat/gesf2.c b/lib/libc/softfloat/gesf2.c
index e6b79c23634..5488f63e8c5 100644
--- a/lib/libc/softfloat/gesf2.c
+++ b/lib/libc/softfloat/gesf2.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: gesf2.c,v 1.1 2006/11/06 15:11:37 drahn Exp $ */
+/* $OpenBSD: gesf2.c,v 1.2 2012/12/05 23:20:01 deraadt Exp $ */
/* $NetBSD: gesf2.c,v 1.1 2000/06/06 08:15:05 bjh21 Exp $ */
/*
@@ -9,8 +9,6 @@
#include "milieu.h"
#include "softfloat.h"
-#include <sys/cdefs.h>
-
flag __gesf2(float32, float32);
flag
diff --git a/lib/libc/softfloat/gtdf2.c b/lib/libc/softfloat/gtdf2.c
index 9573064fb44..9c83284dfe2 100644
--- a/lib/libc/softfloat/gtdf2.c
+++ b/lib/libc/softfloat/gtdf2.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: gtdf2.c,v 1.1 2006/11/06 15:11:37 drahn Exp $ */
+/* $OpenBSD: gtdf2.c,v 1.2 2012/12/05 23:20:01 deraadt Exp $ */
/* $NetBSD: gtdf2.c,v 1.1 2000/06/06 08:15:05 bjh21 Exp $ */
/*
@@ -9,8 +9,6 @@
#include "milieu.h"
#include "softfloat.h"
-#include <sys/cdefs.h>
-
flag __gtdf2(float64, float64);
flag
diff --git a/lib/libc/softfloat/gtsf2.c b/lib/libc/softfloat/gtsf2.c
index 7310cff58e4..b13fa29493b 100644
--- a/lib/libc/softfloat/gtsf2.c
+++ b/lib/libc/softfloat/gtsf2.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: gtsf2.c,v 1.1 2006/11/06 15:11:37 drahn Exp $ */
+/* $OpenBSD: gtsf2.c,v 1.2 2012/12/05 23:20:01 deraadt Exp $ */
/* $NetBSD: gtsf2.c,v 1.1 2000/06/06 08:15:06 bjh21 Exp $ */
/*
@@ -9,8 +9,6 @@
#include "milieu.h"
#include "softfloat.h"
-#include <sys/cdefs.h>
-
flag __gtsf2(float32, float32);
flag
diff --git a/lib/libc/softfloat/ledf2.c b/lib/libc/softfloat/ledf2.c
index 7a9e89eda00..1120c12e2bc 100644
--- a/lib/libc/softfloat/ledf2.c
+++ b/lib/libc/softfloat/ledf2.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: ledf2.c,v 1.1 2006/11/06 15:11:37 drahn Exp $ */
+/* $OpenBSD: ledf2.c,v 1.2 2012/12/05 23:20:01 deraadt Exp $ */
/* $NetBSD: ledf2.c,v 1.1 2000/06/06 08:15:06 bjh21 Exp $ */
/*
@@ -9,8 +9,6 @@
#include "milieu.h"
#include "softfloat.h"
-#include <sys/cdefs.h>
-
flag __ledf2(float64, float64);
flag
diff --git a/lib/libc/softfloat/lesf2.c b/lib/libc/softfloat/lesf2.c
index c03d521e4e5..b96c0a00176 100644
--- a/lib/libc/softfloat/lesf2.c
+++ b/lib/libc/softfloat/lesf2.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: lesf2.c,v 1.1 2006/11/06 15:11:37 drahn Exp $ */
+/* $OpenBSD: lesf2.c,v 1.2 2012/12/05 23:20:01 deraadt Exp $ */
/* $NetBSD: lesf2.c,v 1.1 2000/06/06 08:15:06 bjh21 Exp $ */
/*
@@ -9,8 +9,6 @@
#include "milieu.h"
#include "softfloat.h"
-#include <sys/cdefs.h>
-
flag __lesf2(float32, float32);
flag
diff --git a/lib/libc/softfloat/ltdf2.c b/lib/libc/softfloat/ltdf2.c
index 07b860d5064..c9f9308d648 100644
--- a/lib/libc/softfloat/ltdf2.c
+++ b/lib/libc/softfloat/ltdf2.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: ltdf2.c,v 1.1 2006/11/06 15:11:37 drahn Exp $ */
+/* $OpenBSD: ltdf2.c,v 1.2 2012/12/05 23:20:01 deraadt Exp $ */
/* $NetBSD: ltdf2.c,v 1.1 2000/06/06 08:15:06 bjh21 Exp $ */
/*
@@ -9,8 +9,6 @@
#include "milieu.h"
#include "softfloat.h"
-#include <sys/cdefs.h>
-
flag __ltdf2(float64, float64);
flag
diff --git a/lib/libc/softfloat/ltsf2.c b/lib/libc/softfloat/ltsf2.c
index 040bf0adfdd..823bea0a0dd 100644
--- a/lib/libc/softfloat/ltsf2.c
+++ b/lib/libc/softfloat/ltsf2.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: ltsf2.c,v 1.1 2006/11/06 15:11:37 drahn Exp $ */
+/* $OpenBSD: ltsf2.c,v 1.2 2012/12/05 23:20:01 deraadt Exp $ */
/* $NetBSD: ltsf2.c,v 1.1 2000/06/06 08:15:06 bjh21 Exp $ */
/*
@@ -9,8 +9,6 @@
#include "milieu.h"
#include "softfloat.h"
-#include <sys/cdefs.h>
-
flag __ltsf2(float32, float32);
flag
diff --git a/lib/libc/softfloat/nedf2.c b/lib/libc/softfloat/nedf2.c
index a42305dbe4c..c2b70f836cd 100644
--- a/lib/libc/softfloat/nedf2.c
+++ b/lib/libc/softfloat/nedf2.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: nedf2.c,v 1.1 2006/11/06 15:11:37 drahn Exp $ */
+/* $OpenBSD: nedf2.c,v 1.2 2012/12/05 23:20:01 deraadt Exp $ */
/* $NetBSD: nedf2.c,v 1.1 2000/06/06 08:15:07 bjh21 Exp $ */
/*
@@ -9,8 +9,6 @@
#include "milieu.h"
#include "softfloat.h"
-#include <sys/cdefs.h>
-
flag __nedf2(float64, float64);
flag
diff --git a/lib/libc/softfloat/negdf2.c b/lib/libc/softfloat/negdf2.c
index 643ff30fd6f..5ac6b250776 100644
--- a/lib/libc/softfloat/negdf2.c
+++ b/lib/libc/softfloat/negdf2.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: negdf2.c,v 1.1 2006/11/06 15:11:37 drahn Exp $ */
+/* $OpenBSD: negdf2.c,v 1.2 2012/12/05 23:20:01 deraadt Exp $ */
/* $NetBSD: negdf2.c,v 1.1 2000/06/06 08:15:07 bjh21 Exp $ */
/*
@@ -9,8 +9,6 @@
#include "milieu.h"
#include "softfloat.h"
-#include <sys/cdefs.h>
-
float64 __negdf2(float64);
float64
diff --git a/lib/libc/softfloat/negsf2.c b/lib/libc/softfloat/negsf2.c
index 944af66b7c7..8a7ae6973b9 100644
--- a/lib/libc/softfloat/negsf2.c
+++ b/lib/libc/softfloat/negsf2.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: negsf2.c,v 1.1 2006/11/06 15:11:37 drahn Exp $ */
+/* $OpenBSD: negsf2.c,v 1.2 2012/12/05 23:20:01 deraadt Exp $ */
/* $NetBSD: negsf2.c,v 1.1 2000/06/06 08:15:07 bjh21 Exp $ */
/*
@@ -9,8 +9,6 @@
#include "milieu.h"
#include "softfloat.h"
-#include <sys/cdefs.h>
-
float32 __negsf2(float32);
float32
diff --git a/lib/libc/softfloat/nesf2.c b/lib/libc/softfloat/nesf2.c
index 87fa705e80e..89270a2ed3a 100644
--- a/lib/libc/softfloat/nesf2.c
+++ b/lib/libc/softfloat/nesf2.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: nesf2.c,v 1.1 2006/11/06 15:11:37 drahn Exp $ */
+/* $OpenBSD: nesf2.c,v 1.2 2012/12/05 23:20:01 deraadt Exp $ */
/* $NetBSD: nesf2.c,v 1.1 2000/06/06 08:15:07 bjh21 Exp $ */
/*
@@ -9,8 +9,6 @@
#include "milieu.h"
#include "softfloat.h"
-#include <sys/cdefs.h>
-
flag __nesf2(float32, float32);
flag
diff --git a/lib/libc/softfloat/softfloat.c b/lib/libc/softfloat/softfloat.c
index 546dad91648..b565d6f2e0a 100644
--- a/lib/libc/softfloat/softfloat.c
+++ b/lib/libc/softfloat/softfloat.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: softfloat.c,v 1.1 2006/11/06 15:11:37 drahn Exp $ */
+/* $OpenBSD: softfloat.c,v 1.2 2012/12/05 23:20:01 deraadt Exp $ */
/* $NetBSD: softfloat.c,v 1.1 2002/05/21 23:51:07 bjh21 Exp $ */
/*
@@ -52,8 +52,6 @@ this code that are retained.
===============================================================================
*/
-#include <sys/cdefs.h>
-
#ifdef SOFTFLOAT_FOR_GCC
#include "softfloat-for-gcc.h"
#endif
diff --git a/lib/libc/softfloat/timesoftfloat.c b/lib/libc/softfloat/timesoftfloat.c
index b9a22c7cdec..5e1751e0f2e 100644
--- a/lib/libc/softfloat/timesoftfloat.c
+++ b/lib/libc/softfloat/timesoftfloat.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: timesoftfloat.c,v 1.1 2006/11/06 15:11:37 drahn Exp $ */
+/* $OpenBSD: timesoftfloat.c,v 1.2 2012/12/05 23:20:01 deraadt Exp $ */
/* $NetBSD: timesoftfloat.c,v 1.1 2000/06/06 08:15:11 bjh21 Exp $ */
/*
@@ -31,8 +31,6 @@ this code that are retained.
===============================================================================
*/
-#include <sys/cdefs.h>
-
#include <stdlib.h>
#include <stdarg.h>
#include <string.h>
diff --git a/lib/libc/softfloat/unorddf2.c b/lib/libc/softfloat/unorddf2.c
index 3502a2bd031..8fe8750deac 100644
--- a/lib/libc/softfloat/unorddf2.c
+++ b/lib/libc/softfloat/unorddf2.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: unorddf2.c,v 1.1 2006/11/06 15:11:37 drahn Exp $ */
+/* $OpenBSD: unorddf2.c,v 1.2 2012/12/05 23:20:01 deraadt Exp $ */
/* $NetBSD: unorddf2.c,v 1.1 2003/05/06 08:58:19 rearnsha Exp $ */
/*
@@ -9,8 +9,6 @@
#include "milieu.h"
#include "softfloat.h"
-#include <sys/cdefs.h>
-
flag __unorddf2(float64, float64);
flag
diff --git a/lib/libc/softfloat/unordsf2.c b/lib/libc/softfloat/unordsf2.c
index 21d81236a32..5d5c330f75f 100644
--- a/lib/libc/softfloat/unordsf2.c
+++ b/lib/libc/softfloat/unordsf2.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: unordsf2.c,v 1.1 2006/11/06 15:11:37 drahn Exp $ */
+/* $OpenBSD: unordsf2.c,v 1.2 2012/12/05 23:20:01 deraadt Exp $ */
/* $NetBSD: unordsf2.c,v 1.1 2003/05/06 08:58:20 rearnsha Exp $ */
/*
@@ -9,8 +9,6 @@
#include "milieu.h"
#include "softfloat.h"
-#include <sys/cdefs.h>
-
flag __unordsf2(float32, float32);
flag
diff --git a/lib/libc/stdio/fwscanf.c b/lib/libc/stdio/fwscanf.c
index dd8da0a8023..b716cbff3d3 100644
--- a/lib/libc/stdio/fwscanf.c
+++ b/lib/libc/stdio/fwscanf.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: fwscanf.c,v 1.1 2011/10/16 13:20:51 stsp Exp $ */
+/* $OpenBSD: fwscanf.c,v 1.2 2012/12/05 23:20:01 deraadt Exp $ */
/*-
* Copyright (c) 2002 Tim J. Robbins
@@ -26,7 +26,6 @@
* SUCH DAMAGE.
*/
-#include <sys/cdefs.h>
#include <stdarg.h>
#include <stdio.h>
#include <wchar.h>
diff --git a/lib/libc/stdio/swprintf.c b/lib/libc/stdio/swprintf.c
index 4b7baf732ff..8928aeabb86 100644
--- a/lib/libc/stdio/swprintf.c
+++ b/lib/libc/stdio/swprintf.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: swprintf.c,v 1.4 2011/07/29 09:19:22 sthen Exp $ */
+/* $OpenBSD: swprintf.c,v 1.5 2012/12/05 23:20:01 deraadt Exp $ */
/* $NetBSD: swprintf.c,v 1.1 2005/05/14 23:51:02 christos Exp $ */
/*-
@@ -27,8 +27,6 @@
* SUCH DAMAGE.
*/
-#include <sys/cdefs.h>
-
#include <stdarg.h>
#include <stdio.h>
#include <wchar.h>
diff --git a/lib/libc/stdio/swscanf.c b/lib/libc/stdio/swscanf.c
index fc7e21b06cf..a85e9ee2ba8 100644
--- a/lib/libc/stdio/swscanf.c
+++ b/lib/libc/stdio/swscanf.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: swscanf.c,v 1.1 2011/10/16 13:20:51 stsp Exp $ */
+/* $OpenBSD: swscanf.c,v 1.2 2012/12/05 23:20:01 deraadt Exp $ */
/*-
* Copyright (c) 2002 Tim J. Robbins
@@ -26,7 +26,6 @@
* SUCH DAMAGE.
*/
-#include <sys/cdefs.h>
#include <stdarg.h>
#include <stdio.h>
#include <wchar.h>
diff --git a/lib/libc/stdio/vswprintf.c b/lib/libc/stdio/vswprintf.c
index 813698b9230..da7c4deaee0 100644
--- a/lib/libc/stdio/vswprintf.c
+++ b/lib/libc/stdio/vswprintf.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: vswprintf.c,v 1.3 2011/04/28 17:38:46 stsp Exp $ */
+/* $OpenBSD: vswprintf.c,v 1.4 2012/12/05 23:20:01 deraadt Exp $ */
/* $NetBSD: vswprintf.c,v 1.1 2005/05/14 23:51:02 christos Exp $ */
/*
@@ -28,7 +28,6 @@
* ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
-#include <sys/cdefs.h>
#include <errno.h>
#include <stdio.h>
#include <stdlib.h>
diff --git a/lib/libc/stdio/vswscanf.c b/lib/libc/stdio/vswscanf.c
index 0057ab17eb2..cbaa25091ba 100644
--- a/lib/libc/stdio/vswscanf.c
+++ b/lib/libc/stdio/vswscanf.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: vswscanf.c,v 1.1 2011/10/16 13:20:51 stsp Exp $ */
+/* $OpenBSD: vswscanf.c,v 1.2 2012/12/05 23:20:01 deraadt Exp $ */
/*-
* Copyright (c) 1990, 1993
@@ -32,7 +32,6 @@
* SUCH DAMAGE.
*/
-#include <sys/cdefs.h>
#include <limits.h>
#include <stdarg.h>
#include <stdio.h>
diff --git a/lib/libc/stdio/vwscanf.c b/lib/libc/stdio/vwscanf.c
index c05c5d90587..7039f02d7fe 100644
--- a/lib/libc/stdio/vwscanf.c
+++ b/lib/libc/stdio/vwscanf.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: vwscanf.c,v 1.1 2011/10/16 13:20:51 stsp Exp $ */
+/* $OpenBSD: vwscanf.c,v 1.2 2012/12/05 23:20:01 deraadt Exp $ */
/*-
* Copyright (c) 2002 Tim J. Robbins
@@ -26,8 +26,6 @@
* SUCH DAMAGE.
*/
-#include <sys/cdefs.h>
-
#include <stdarg.h>
#include <stdio.h>
#include <wchar.h>
diff --git a/lib/libc/stdio/wscanf.c b/lib/libc/stdio/wscanf.c
index d5e7c261a03..06c0829ab34 100644
--- a/lib/libc/stdio/wscanf.c
+++ b/lib/libc/stdio/wscanf.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: wscanf.c,v 1.1 2011/10/16 13:20:51 stsp Exp $ */
+/* $OpenBSD: wscanf.c,v 1.2 2012/12/05 23:20:01 deraadt Exp $ */
/*-
* Copyright (c) 2002 Tim J. Robbins
@@ -26,7 +26,6 @@
* SUCH DAMAGE.
*/
-#include <sys/cdefs.h>
#include <stdarg.h>
#include <stdio.h>
#include <wchar.h>
diff --git a/lib/libc/stdlib/cfree.c b/lib/libc/stdlib/cfree.c
index 373c7ff75d3..acf6d1c8ac4 100644
--- a/lib/libc/stdlib/cfree.c
+++ b/lib/libc/stdlib/cfree.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: cfree.c,v 1.5 2005/08/08 08:05:36 espie Exp $ */
+/* $OpenBSD: cfree.c,v 1.6 2012/12/05 23:20:01 deraadt Exp $ */
/*
* Copyright (c) 1996 SigmaSoft, Th. Lockert <tholo@sigmasoft.com>
@@ -25,7 +25,6 @@
* ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
-#include <sys/cdefs.h>
#include <stdlib.h>
#ifdef __indr_reference
diff --git a/lib/libkvm/kvm_amd64.c b/lib/libkvm/kvm_amd64.c
index c6c6b77ddf2..934d85e1d54 100644
--- a/lib/libkvm/kvm_amd64.c
+++ b/lib/libkvm/kvm_amd64.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: kvm_amd64.c,v 1.8 2012/07/09 08:43:10 deraadt Exp $ */
+/* $OpenBSD: kvm_amd64.c,v 1.9 2012/12/05 23:20:02 deraadt Exp $ */
/* $NetBSD: kvm_x86_64.c,v 1.3 2002/06/05 22:01:55 fvdl Exp $ */
/*-
@@ -34,8 +34,6 @@
* SUCH DAMAGE.
*/
-#include <sys/cdefs.h>
-
/*
* x86-64 machine dependent routines for kvm.
*/
diff --git a/lib/libkvm/kvm_sparc64.c b/lib/libkvm/kvm_sparc64.c
index d8a313a9024..86a556a875c 100644
--- a/lib/libkvm/kvm_sparc64.c
+++ b/lib/libkvm/kvm_sparc64.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: kvm_sparc64.c,v 1.7 2008/03/30 14:49:45 kettenis Exp $ */
+/* $OpenBSD: kvm_sparc64.c,v 1.8 2012/12/05 23:20:02 deraadt Exp $ */
/* $NetBSD: kvm_sparc64.c,v 1.7 2001/08/05 03:33:15 matt Exp $ */
/*-
@@ -34,8 +34,6 @@
* SUCH DAMAGE.
*/
-#include <sys/cdefs.h>
-
/*
* Sparc machine dependent routines for kvm. Hopefully, the forthcoming
* vm code will one day obsolete this module.
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>
diff --git a/lib/libocurses/curses.h b/lib/libocurses/curses.h
index 4146c35bb5d..9ef42ce8002 100644
--- a/lib/libocurses/curses.h
+++ b/lib/libocurses/curses.h
@@ -33,7 +33,6 @@
#define _OCURSES_H_
#include <sys/types.h>
-#include <sys/cdefs.h>
#include <stdio.h>
diff --git a/lib/libpthread/include/pthread.h b/lib/libpthread/include/pthread.h
index 514b8eb10c5..de6a8096483 100644
--- a/lib/libpthread/include/pthread.h
+++ b/lib/libpthread/include/pthread.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: pthread.h,v 1.38 2012/11/05 08:58:39 landry Exp $ */
+/* $OpenBSD: pthread.h,v 1.39 2012/12/05 23:20:05 deraadt Exp $ */
/*
* Copyright (c) 1993, 1994 by Chris Provenzano, proven@mit.edu
@@ -40,7 +40,6 @@
/*
* Header files.
*/
-#include <sys/cdefs.h>
#include <sys/types.h>
#include <sys/time.h>
#include <sys/signal.h>
diff --git a/lib/libpthread/include/sched.h b/lib/libpthread/include/sched.h
index a959d0f70de..d8aef46f111 100644
--- a/lib/libpthread/include/sched.h
+++ b/lib/libpthread/include/sched.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: sched.h,v 1.8 2012/03/22 04:26:31 guenther Exp $ */
+/* $OpenBSD: sched.h,v 1.9 2012/12/05 23:20:05 deraadt Exp $ */
/* sched.h: POSIX 1003.1b Process Scheduling header */
@@ -53,8 +53,6 @@ struct sched_param
int sched_priority;
};
-#include <sys/cdefs.h>
-
__BEGIN_DECLS
#if 0 /* not yet */
int sched_setparam(pid_t, const struct sched_param *);
diff --git a/lib/libpthread/include/semaphore.h b/lib/libpthread/include/semaphore.h
index f5256d936cb..6e00bf320ee 100644
--- a/lib/libpthread/include/semaphore.h
+++ b/lib/libpthread/include/semaphore.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: semaphore.h,v 1.5 2012/07/11 09:08:50 guenther Exp $ */
+/* $OpenBSD: semaphore.h,v 1.6 2012/12/05 23:20:05 deraadt Exp $ */
/* semaphore.h: POSIX 1003.1b semaphores */
@@ -50,7 +50,6 @@ struct timespec;
#define SEM_VALUE_MAX UINT_MAX
#ifndef _KERNEL
-#include <sys/cdefs.h>
__BEGIN_DECLS
int sem_init(sem_t *, int, unsigned int);
diff --git a/lib/libpthread/include/spinlock.h b/lib/libpthread/include/spinlock.h
index 717072115b0..1e836d41605 100644
--- a/lib/libpthread/include/spinlock.h
+++ b/lib/libpthread/include/spinlock.h
@@ -29,8 +29,8 @@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
- * $Id: spinlock.h,v 1.8 2003/01/31 04:46:17 marc Exp $
- * $OpenBSD: spinlock.h,v 1.8 2003/01/31 04:46:17 marc Exp $
+ * $Id: spinlock.h,v 1.9 2012/12/05 23:20:05 deraadt Exp $
+ * $OpenBSD: spinlock.h,v 1.9 2012/12/05 23:20:05 deraadt Exp $
*
* Lock definitions used in both libc and libpthread.
*
@@ -38,7 +38,6 @@
#ifndef _SPINLOCK_H_
#define _SPINLOCK_H_
-#include <sys/cdefs.h>
#include <sys/types.h>
#include <machine/spinlock.h>
diff --git a/lib/libutil/fparseln.c b/lib/libutil/fparseln.c
index a8c57e80778..b386e306697 100644
--- a/lib/libutil/fparseln.c
+++ b/lib/libutil/fparseln.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: fparseln.c,v 1.6 2005/08/02 21:46:23 espie Exp $ */
+/* $OpenBSD: fparseln.c,v 1.7 2012/12/05 23:20:06 deraadt Exp $ */
/* $NetBSD: fparseln.c,v 1.7 1999/07/02 15:49:12 simonb Exp $ */
/*
@@ -30,8 +30,6 @@
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
-#include <sys/cdefs.h>
-
#include <stdio.h>
#include <string.h>
#include <stdlib.h>
diff --git a/lib/libutil/opendisk.c b/lib/libutil/opendisk.c
index 62178b4201f..3840f70500a 100644
--- a/lib/libutil/opendisk.c
+++ b/lib/libutil/opendisk.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: opendisk.c,v 1.5 2008/06/26 05:42:05 ray Exp $ */
+/* $OpenBSD: opendisk.c,v 1.6 2012/12/05 23:20:06 deraadt Exp $ */
/* $NetBSD: opendisk.c,v 1.4 1997/09/30 17:13:50 phil Exp $ */
/*-
@@ -30,7 +30,6 @@
* POSSIBILITY OF SUCH DAMAGE.
*/
-#include <sys/cdefs.h>
#include <sys/param.h>
#include <errno.h>
diff --git a/lib/libutil/pty.c b/lib/libutil/pty.c
index 86fddb1f331..2fb20880da3 100644
--- a/lib/libutil/pty.c
+++ b/lib/libutil/pty.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: pty.c,v 1.17 2012/07/09 14:26:40 nicm Exp $ */
+/* $OpenBSD: pty.c,v 1.18 2012/12/05 23:20:06 deraadt Exp $ */
/*-
* Copyright (c) 1990, 1993
@@ -29,7 +29,6 @@
* SUCH DAMAGE.
*/
-#include <sys/cdefs.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <sys/ioctl.h>
diff --git a/lib/libutil/util.h b/lib/libutil/util.h
index 6fe0b016e3e..92e3c45ed20 100644
--- a/lib/libutil/util.h
+++ b/lib/libutil/util.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: util.h,v 1.32 2012/09/09 18:08:21 matthew Exp $ */
+/* $OpenBSD: util.h,v 1.33 2012/12/05 23:20:06 deraadt Exp $ */
/* $NetBSD: util.h,v 1.2 1996/05/16 07:00:22 thorpej Exp $ */
/*-
@@ -34,7 +34,6 @@
#ifndef _UTIL_H_
#define _UTIL_H_
-#include <sys/cdefs.h>
#include <sys/types.h>
/*
diff --git a/lib/libwrap/tcpd.h b/lib/libwrap/tcpd.h
index ab8105e97a0..97e7405d892 100644
--- a/lib/libwrap/tcpd.h
+++ b/lib/libwrap/tcpd.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: tcpd.h,v 1.15 2003/06/03 21:09:00 deraadt Exp $ */
+/* $OpenBSD: tcpd.h,v 1.16 2012/12/05 23:20:06 deraadt Exp $ */
/*
* Copyright (c) 1997, Jason Downs. All rights reserved.
@@ -33,8 +33,6 @@
#ifndef _TCPD_H_
#define _TCPD_H_
-#include <sys/cdefs.h>
-
/* Structure to describe one communications endpoint. */
#define STRING_LENGTH 256 /* hosts, users, processes */