diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 2012-12-05 23:20:27 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 2012-12-05 23:20:27 +0000 |
commit | 0275dcbbe75bf604e5d9b03f215e510188a36496 (patch) | |
tree | 5c28b494f1e6a54c80a5317abfe2c32e13cbbdc5 /lib/libc/gen | |
parent | 56b74e8e5b53b78f8c539afa3b9581be53b79e06 (diff) |
Remove excessive sys/cdefs.h inclusion
ok guenther millert kettenis
Diffstat (limited to 'lib/libc/gen')
-rw-r--r-- | lib/libc/gen/_sys_errlist.c | 4 | ||||
-rw-r--r-- | lib/libc/gen/_sys_nerr.c | 4 | ||||
-rw-r--r-- | lib/libc/gen/_sys_siglist.c | 4 | ||||
-rw-r--r-- | lib/libc/gen/err.c | 3 | ||||
-rw-r--r-- | lib/libc/gen/errx.c | 3 | ||||
-rw-r--r-- | lib/libc/gen/fpclassify.c | 3 | ||||
-rw-r--r-- | lib/libc/gen/frexp.c | 3 | ||||
-rw-r--r-- | lib/libc/gen/isfinite.c | 3 | ||||
-rw-r--r-- | lib/libc/gen/isinf.c | 3 | ||||
-rw-r--r-- | lib/libc/gen/isnan.c | 3 | ||||
-rw-r--r-- | lib/libc/gen/isnormal.c | 3 | ||||
-rw-r--r-- | lib/libc/gen/ldexp.c | 3 | ||||
-rw-r--r-- | lib/libc/gen/posix_spawn.c | 4 | ||||
-rw-r--r-- | lib/libc/gen/siglist.c | 3 | ||||
-rw-r--r-- | lib/libc/gen/signbit.c | 3 | ||||
-rw-r--r-- | lib/libc/gen/verr.c | 3 | ||||
-rw-r--r-- | lib/libc/gen/verrx.c | 3 | ||||
-rw-r--r-- | lib/libc/gen/vwarn.c | 3 | ||||
-rw-r--r-- | lib/libc/gen/vwarnx.c | 3 | ||||
-rw-r--r-- | lib/libc/gen/warn.c | 3 | ||||
-rw-r--r-- | lib/libc/gen/warnx.c | 3 |
21 files changed, 24 insertions, 43 deletions
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> |