diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 2012-12-04 02:24:48 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 2012-12-04 02:24:48 +0000 |
commit | 9023faa39fcf19063833d6308114568a7657afe7 (patch) | |
tree | 5d336083ca440ef5ab91512fe3146dca41bd2485 /bin | |
parent | 351d7a7c8f7fe76323d05f7456a41536052339e0 (diff) |
remove some unnecessary sys/param.h inclusions
Diffstat (limited to 'bin')
-rw-r--r-- | bin/chio/chio.c | 4 | ||||
-rw-r--r-- | bin/chmod/chmod.c | 4 | ||||
-rw-r--r-- | bin/csh/extern.h | 4 | ||||
-rw-r--r-- | bin/csh/misc.c | 4 | ||||
-rw-r--r-- | bin/pax/ar_io.c | 3 | ||||
-rw-r--r-- | bin/pax/ar_subs.c | 3 | ||||
-rw-r--r-- | bin/pax/buf_subs.c | 3 | ||||
-rw-r--r-- | bin/pax/cache.c | 3 | ||||
-rw-r--r-- | bin/pax/cpio.c | 3 | ||||
-rw-r--r-- | bin/pax/ftree.c | 3 | ||||
-rw-r--r-- | bin/pax/gen_subs.c | 3 | ||||
-rw-r--r-- | bin/pax/options.c | 3 | ||||
-rw-r--r-- | bin/pax/pat_rep.c | 3 | ||||
-rw-r--r-- | bin/pax/pax.c | 6 | ||||
-rw-r--r-- | bin/pax/sel_subs.c | 3 | ||||
-rw-r--r-- | bin/pax/tables.c | 4 | ||||
-rw-r--r-- | bin/pax/tar.c | 3 | ||||
-rw-r--r-- | bin/pax/tty_subs.c | 3 | ||||
-rw-r--r-- | bin/rcp/rcp.c | 3 | ||||
-rw-r--r-- | bin/rmail/rmail.c | 4 | ||||
-rw-r--r-- | bin/systrace/alias.c | 3 | ||||
-rw-r--r-- | bin/systrace/filter.c | 3 | ||||
-rw-r--r-- | bin/systrace/intercept-translate.c | 3 | ||||
-rw-r--r-- | bin/systrace/intercept.c | 3 | ||||
-rw-r--r-- | bin/systrace/policy.c | 3 | ||||
-rw-r--r-- | bin/systrace/register.c | 3 | ||||
-rw-r--r-- | bin/systrace/systrace.c | 3 |
27 files changed, 34 insertions, 56 deletions
diff --git a/bin/chio/chio.c b/bin/chio/chio.c index b3d72fb8dd6..22132c431a6 100644 --- a/bin/chio/chio.c +++ b/bin/chio/chio.c @@ -1,4 +1,4 @@ -/* $OpenBSD: chio.c,v 1.23 2011/04/24 01:13:55 krw Exp $ */ +/* $OpenBSD: chio.c,v 1.24 2012/12/04 02:24:46 deraadt Exp $ */ /* $NetBSD: chio.c,v 1.1.1.1 1996/04/03 00:34:38 thorpej Exp $ */ /* @@ -33,7 +33,7 @@ * SUCH DAMAGE. */ -#include <sys/param.h> +#include <sys/types.h> #include <sys/ioctl.h> #include <sys/mtio.h> #include <sys/chio.h> diff --git a/bin/chmod/chmod.c b/bin/chmod/chmod.c index 5be7ce267cb..df30e703c9f 100644 --- a/bin/chmod/chmod.c +++ b/bin/chmod/chmod.c @@ -1,4 +1,4 @@ -/* $OpenBSD: chmod.c,v 1.27 2011/03/09 12:32:02 okan Exp $ */ +/* $OpenBSD: chmod.c,v 1.28 2012/12/04 02:24:46 deraadt Exp $ */ /* $NetBSD: chmod.c,v 1.12 1995/03/21 09:02:09 cgd Exp $ */ /* @@ -30,7 +30,7 @@ * SUCH DAMAGE. */ -#include <sys/param.h> +#include <sys/types.h> #include <sys/stat.h> #include <err.h> diff --git a/bin/csh/extern.h b/bin/csh/extern.h index 39e38a79b45..abc3bd70710 100644 --- a/bin/csh/extern.h +++ b/bin/csh/extern.h @@ -1,4 +1,4 @@ -/* $OpenBSD: extern.h,v 1.15 2005/12/11 02:41:01 deraadt Exp $ */ +/* $OpenBSD: extern.h,v 1.16 2012/12/04 02:24:46 deraadt Exp $ */ /* $NetBSD: extern.h,v 1.8 1996/10/31 23:50:54 christos Exp $ */ /*- @@ -32,8 +32,6 @@ * @(#)extern.h 8.1 (Berkeley) 5/31/93 */ -#include <sys/cdefs.h> - /* * csh.c */ diff --git a/bin/csh/misc.c b/bin/csh/misc.c index f75cbfa8051..8fb3d8f0327 100644 --- a/bin/csh/misc.c +++ b/bin/csh/misc.c @@ -1,4 +1,4 @@ -/* $OpenBSD: misc.c,v 1.11 2009/10/27 23:59:21 deraadt Exp $ */ +/* $OpenBSD: misc.c,v 1.12 2012/12/04 02:24:46 deraadt Exp $ */ /* $NetBSD: misc.c,v 1.6 1995/03/21 09:03:09 cgd Exp $ */ /*- @@ -30,7 +30,7 @@ * SUCH DAMAGE. */ -#include <sys/param.h> +#include <sys/types.h> #include <stdlib.h> #include <unistd.h> #include <stdarg.h> diff --git a/bin/pax/ar_io.c b/bin/pax/ar_io.c index f230a9c8940..cfbbea514a6 100644 --- a/bin/pax/ar_io.c +++ b/bin/pax/ar_io.c @@ -1,4 +1,4 @@ -/* $OpenBSD: ar_io.c,v 1.39 2009/10/27 23:59:22 deraadt Exp $ */ +/* $OpenBSD: ar_io.c,v 1.40 2012/12/04 02:24:45 deraadt Exp $ */ /* $NetBSD: ar_io.c,v 1.5 1996/03/26 23:54:13 mrg Exp $ */ /*- @@ -39,7 +39,6 @@ #include <sys/stat.h> #include <sys/ioctl.h> #include <sys/mtio.h> -#include <sys/param.h> #include <sys/wait.h> #include <signal.h> #include <string.h> diff --git a/bin/pax/ar_subs.c b/bin/pax/ar_subs.c index 5b5505a7e4e..11f437ebf65 100644 --- a/bin/pax/ar_subs.c +++ b/bin/pax/ar_subs.c @@ -1,4 +1,4 @@ -/* $OpenBSD: ar_subs.c,v 1.33 2009/10/27 23:59:22 deraadt Exp $ */ +/* $OpenBSD: ar_subs.c,v 1.34 2012/12/04 02:24:45 deraadt Exp $ */ /* $NetBSD: ar_subs.c,v 1.5 1995/03/21 09:07:06 cgd Exp $ */ /*- @@ -37,7 +37,6 @@ #include <sys/types.h> #include <sys/time.h> #include <sys/stat.h> -#include <sys/param.h> #include <signal.h> #include <string.h> #include <stdio.h> diff --git a/bin/pax/buf_subs.c b/bin/pax/buf_subs.c index 2417233f8c1..d61043cc870 100644 --- a/bin/pax/buf_subs.c +++ b/bin/pax/buf_subs.c @@ -1,4 +1,4 @@ -/* $OpenBSD: buf_subs.c,v 1.23 2009/12/22 12:09:36 jasper Exp $ */ +/* $OpenBSD: buf_subs.c,v 1.24 2012/12/04 02:24:45 deraadt Exp $ */ /* $NetBSD: buf_subs.c,v 1.5 1995/03/21 09:07:08 cgd Exp $ */ /*- @@ -37,7 +37,6 @@ #include <sys/types.h> #include <sys/time.h> #include <sys/stat.h> -#include <sys/param.h> #include <stdio.h> #include <errno.h> #include <unistd.h> diff --git a/bin/pax/cache.c b/bin/pax/cache.c index 0e1b591ba31..3673ebb885f 100644 --- a/bin/pax/cache.c +++ b/bin/pax/cache.c @@ -1,4 +1,4 @@ -/* $OpenBSD: cache.c,v 1.19 2009/12/22 12:09:36 jasper Exp $ */ +/* $OpenBSD: cache.c,v 1.20 2012/12/04 02:24:45 deraadt Exp $ */ /* $NetBSD: cache.c,v 1.4 1995/03/21 09:07:10 cgd Exp $ */ /*- @@ -37,7 +37,6 @@ #include <sys/types.h> #include <sys/time.h> #include <sys/stat.h> -#include <sys/param.h> #include <string.h> #include <stdio.h> #include <pwd.h> diff --git a/bin/pax/cpio.c b/bin/pax/cpio.c index 1a46cb668a3..9aafdf9b566 100644 --- a/bin/pax/cpio.c +++ b/bin/pax/cpio.c @@ -1,4 +1,4 @@ -/* $OpenBSD: cpio.c,v 1.19 2009/10/27 23:59:22 deraadt Exp $ */ +/* $OpenBSD: cpio.c,v 1.20 2012/12/04 02:24:45 deraadt Exp $ */ /* $NetBSD: cpio.c,v 1.5 1995/03/21 09:07:13 cgd Exp $ */ /*- @@ -37,7 +37,6 @@ #include <sys/types.h> #include <sys/time.h> #include <sys/stat.h> -#include <sys/param.h> #include <string.h> #include <stdio.h> #include <unistd.h> diff --git a/bin/pax/ftree.c b/bin/pax/ftree.c index 415a4963452..969d92657f0 100644 --- a/bin/pax/ftree.c +++ b/bin/pax/ftree.c @@ -1,4 +1,4 @@ -/* $OpenBSD: ftree.c,v 1.29 2009/10/27 23:59:22 deraadt Exp $ */ +/* $OpenBSD: ftree.c,v 1.30 2012/12/04 02:24:45 deraadt Exp $ */ /* $NetBSD: ftree.c,v 1.4 1995/03/21 09:07:21 cgd Exp $ */ /*- @@ -37,7 +37,6 @@ #include <sys/types.h> #include <sys/time.h> #include <sys/stat.h> -#include <sys/param.h> #include <unistd.h> #include <string.h> #include <stdio.h> diff --git a/bin/pax/gen_subs.c b/bin/pax/gen_subs.c index 1c6f73ee57e..551f0307c7b 100644 --- a/bin/pax/gen_subs.c +++ b/bin/pax/gen_subs.c @@ -1,4 +1,4 @@ -/* $OpenBSD: gen_subs.c,v 1.20 2009/10/27 23:59:22 deraadt Exp $ */ +/* $OpenBSD: gen_subs.c,v 1.21 2012/12/04 02:24:45 deraadt Exp $ */ /* $NetBSD: gen_subs.c,v 1.5 1995/03/21 09:07:26 cgd Exp $ */ /*- @@ -37,7 +37,6 @@ #include <sys/types.h> #include <sys/time.h> #include <sys/stat.h> -#include <sys/param.h> #include <stdio.h> #include <tzfile.h> #include <utmp.h> diff --git a/bin/pax/options.c b/bin/pax/options.c index cc4a17cbe06..909a944ad5d 100644 --- a/bin/pax/options.c +++ b/bin/pax/options.c @@ -1,4 +1,4 @@ -/* $OpenBSD: options.c,v 1.75 2012/03/04 04:05:15 fgsch Exp $ */ +/* $OpenBSD: options.c,v 1.76 2012/12/04 02:24:45 deraadt Exp $ */ /* $NetBSD: options.c,v 1.6 1996/03/26 23:54:18 mrg Exp $ */ /*- @@ -38,7 +38,6 @@ #include <sys/time.h> #include <sys/stat.h> #include <sys/mtio.h> -#include <sys/param.h> #include <stdio.h> #include <string.h> #include <errno.h> diff --git a/bin/pax/pat_rep.c b/bin/pax/pat_rep.c index 118c30b19ca..7a435a6ea7b 100644 --- a/bin/pax/pat_rep.c +++ b/bin/pax/pat_rep.c @@ -1,4 +1,4 @@ -/* $OpenBSD: pat_rep.c,v 1.31 2009/10/27 23:59:22 deraadt Exp $ */ +/* $OpenBSD: pat_rep.c,v 1.32 2012/12/04 02:24:45 deraadt Exp $ */ /* $NetBSD: pat_rep.c,v 1.4 1995/03/21 09:07:33 cgd Exp $ */ /*- @@ -37,7 +37,6 @@ #include <sys/types.h> #include <sys/time.h> #include <sys/stat.h> -#include <sys/param.h> #include <stdio.h> #include <string.h> #include <unistd.h> diff --git a/bin/pax/pax.c b/bin/pax/pax.c index ee56aba0e63..ea5bfeab99a 100644 --- a/bin/pax/pax.c +++ b/bin/pax/pax.c @@ -1,4 +1,4 @@ -/* $OpenBSD: pax.c,v 1.33 2012/04/19 04:26:46 deraadt Exp $ */ +/* $OpenBSD: pax.c,v 1.34 2012/12/04 02:24:45 deraadt Exp $ */ /* $NetBSD: pax.c,v 1.5 1996/03/26 23:54:20 mrg Exp $ */ /*- @@ -34,9 +34,7 @@ * SUCH DAMAGE. */ -#include <stdio.h> #include <sys/types.h> -#include <sys/param.h> #include <sys/stat.h> #include <sys/time.h> #include <sys/resource.h> @@ -48,6 +46,8 @@ #include <err.h> #include <fcntl.h> #include <paths.h> +#include <stdio.h> + #include "pax.h" #include "extern.h" static int gen_init(void); diff --git a/bin/pax/sel_subs.c b/bin/pax/sel_subs.c index 8f21814402b..6327bafb25e 100644 --- a/bin/pax/sel_subs.c +++ b/bin/pax/sel_subs.c @@ -1,4 +1,4 @@ -/* $OpenBSD: sel_subs.c,v 1.20 2009/11/12 20:17:03 deraadt Exp $ */ +/* $OpenBSD: sel_subs.c,v 1.21 2012/12/04 02:24:45 deraadt Exp $ */ /* $NetBSD: sel_subs.c,v 1.5 1995/03/21 09:07:42 cgd Exp $ */ /*- @@ -37,7 +37,6 @@ #include <sys/types.h> #include <sys/time.h> #include <sys/stat.h> -#include <sys/param.h> #include <ctype.h> #include <grp.h> #include <pwd.h> diff --git a/bin/pax/tables.c b/bin/pax/tables.c index 50bd89b53ec..cfbf4a55c30 100644 --- a/bin/pax/tables.c +++ b/bin/pax/tables.c @@ -1,4 +1,4 @@ -/* $OpenBSD: tables.c,v 1.26 2009/10/27 23:59:22 deraadt Exp $ */ +/* $OpenBSD: tables.c,v 1.27 2012/12/04 02:24:45 deraadt Exp $ */ /* $NetBSD: tables.c,v 1.4 1995/03/21 09:07:45 cgd Exp $ */ /*- @@ -35,9 +35,9 @@ */ #include <sys/types.h> +#include <sys/param.h> #include <sys/time.h> #include <sys/stat.h> -#include <sys/param.h> #include <sys/fcntl.h> #include <stdio.h> #include <string.h> diff --git a/bin/pax/tar.c b/bin/pax/tar.c index 313b542e219..3cabd38691d 100644 --- a/bin/pax/tar.c +++ b/bin/pax/tar.c @@ -1,4 +1,4 @@ -/* $OpenBSD: tar.c,v 1.43 2010/12/02 04:08:27 tedu Exp $ */ +/* $OpenBSD: tar.c,v 1.44 2012/12/04 02:24:45 deraadt Exp $ */ /* $NetBSD: tar.c,v 1.5 1995/03/21 09:07:49 cgd Exp $ */ /*- @@ -37,7 +37,6 @@ #include <sys/types.h> #include <sys/time.h> #include <sys/stat.h> -#include <sys/param.h> #include <string.h> #include <stdio.h> #include <unistd.h> diff --git a/bin/pax/tty_subs.c b/bin/pax/tty_subs.c index e63a221cba4..a01e2919117 100644 --- a/bin/pax/tty_subs.c +++ b/bin/pax/tty_subs.c @@ -1,4 +1,4 @@ -/* $OpenBSD: tty_subs.c,v 1.14 2009/10/27 23:59:22 deraadt Exp $ */ +/* $OpenBSD: tty_subs.c,v 1.15 2012/12/04 02:24:45 deraadt Exp $ */ /* $NetBSD: tty_subs.c,v 1.5 1995/03/21 09:07:52 cgd Exp $ */ /*- @@ -37,7 +37,6 @@ #include <sys/types.h> #include <sys/time.h> #include <sys/stat.h> -#include <sys/param.h> #include <fcntl.h> #include <stdio.h> #include <errno.h> diff --git a/bin/rcp/rcp.c b/bin/rcp/rcp.c index b62ca1fb18c..9cbf696e59b 100644 --- a/bin/rcp/rcp.c +++ b/bin/rcp/rcp.c @@ -1,4 +1,4 @@ -/* $OpenBSD: rcp.c,v 1.49 2009/10/27 23:59:22 deraadt Exp $ */ +/* $OpenBSD: rcp.c,v 1.50 2012/12/04 02:24:46 deraadt Exp $ */ /* $NetBSD: rcp.c,v 1.9 1995/03/21 08:19:06 cgd Exp $ */ /* @@ -30,7 +30,6 @@ * SUCH DAMAGE. */ -#include <sys/param.h> #include <sys/stat.h> #include <sys/time.h> #include <sys/socket.h> diff --git a/bin/rmail/rmail.c b/bin/rmail/rmail.c index 841cceca45c..0a77aa15379 100644 --- a/bin/rmail/rmail.c +++ b/bin/rmail/rmail.c @@ -1,4 +1,4 @@ -/* $OpenBSD: rmail.c,v 1.24 2009/10/27 23:59:22 deraadt Exp $ */ +/* $OpenBSD: rmail.c,v 1.25 2012/12/04 02:24:47 deraadt Exp $ */ /* $NetBSD: rmail.c,v 1.8 1995/09/07 06:51:50 jtc Exp $ */ /* @@ -51,7 +51,7 @@ * The output of rmail(8) compresses the <forward> lines into a single * from path. */ -#include <sys/param.h> +#include <sys/types.h> #include <sys/stat.h> #include <sys/wait.h> diff --git a/bin/systrace/alias.c b/bin/systrace/alias.c index d319c5de380..00ce07b5062 100644 --- a/bin/systrace/alias.c +++ b/bin/systrace/alias.c @@ -1,4 +1,4 @@ -/* $OpenBSD: alias.c,v 1.5 2002/09/06 22:56:21 deraadt Exp $ */ +/* $OpenBSD: alias.c,v 1.6 2012/12/04 02:24:47 deraadt Exp $ */ /* * Copyright 2002 Niels Provos <provos@citi.umich.edu> * All rights reserved. @@ -30,7 +30,6 @@ */ #include <sys/types.h> -#include <sys/param.h> #include <sys/stat.h> #include <sys/tree.h> #include <limits.h> diff --git a/bin/systrace/filter.c b/bin/systrace/filter.c index 576b848af2d..ba366946c38 100644 --- a/bin/systrace/filter.c +++ b/bin/systrace/filter.c @@ -1,4 +1,4 @@ -/* $OpenBSD: filter.c,v 1.33 2006/07/02 12:34:15 sturm Exp $ */ +/* $OpenBSD: filter.c,v 1.34 2012/12/04 02:24:47 deraadt Exp $ */ /* * Copyright 2002 Niels Provos <provos@citi.umich.edu> * All rights reserved. @@ -29,7 +29,6 @@ * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */ -#include <sys/param.h> #include <sys/types.h> #include <sys/wait.h> #include <sys/tree.h> diff --git a/bin/systrace/intercept-translate.c b/bin/systrace/intercept-translate.c index 6f6d8ad9ae5..b6e43e54d5d 100644 --- a/bin/systrace/intercept-translate.c +++ b/bin/systrace/intercept-translate.c @@ -1,4 +1,4 @@ -/* $OpenBSD: intercept-translate.c,v 1.15 2012/03/02 17:23:08 matthew Exp $ */ +/* $OpenBSD: intercept-translate.c,v 1.16 2012/12/04 02:24:47 deraadt Exp $ */ /* * Copyright 2002 Niels Provos <provos@citi.umich.edu> * All rights reserved. @@ -30,7 +30,6 @@ */ #include <sys/types.h> -#include <sys/param.h> #include <sys/tree.h> #include <sys/socket.h> #include <fcntl.h> diff --git a/bin/systrace/intercept.c b/bin/systrace/intercept.c index 3dfb223b716..e4c768730cd 100644 --- a/bin/systrace/intercept.c +++ b/bin/systrace/intercept.c @@ -1,4 +1,4 @@ -/* $OpenBSD: intercept.c,v 1.59 2012/08/23 00:08:36 guenther Exp $ */ +/* $OpenBSD: intercept.c,v 1.60 2012/12/04 02:24:47 deraadt Exp $ */ /* * Copyright 2002 Niels Provos <provos@citi.umich.edu> * All rights reserved. @@ -31,7 +31,6 @@ #include <sys/types.h> -#include <sys/param.h> #include <sys/tree.h> #include <sys/wait.h> #include <sys/stat.h> diff --git a/bin/systrace/policy.c b/bin/systrace/policy.c index 2afcc5b964a..09a720746a3 100644 --- a/bin/systrace/policy.c +++ b/bin/systrace/policy.c @@ -1,4 +1,4 @@ -/* $OpenBSD: policy.c,v 1.32 2006/09/19 10:48:41 otto Exp $ */ +/* $OpenBSD: policy.c,v 1.33 2012/12/04 02:24:47 deraadt Exp $ */ /* * Copyright 2002 Niels Provos <provos@citi.umich.edu> * All rights reserved. @@ -30,7 +30,6 @@ */ #include <sys/types.h> -#include <sys/param.h> #include <sys/stat.h> #include <sys/tree.h> #include <dirent.h> diff --git a/bin/systrace/register.c b/bin/systrace/register.c index 1d68d06c513..6f8d0cc640a 100644 --- a/bin/systrace/register.c +++ b/bin/systrace/register.c @@ -1,4 +1,4 @@ -/* $OpenBSD: register.c,v 1.23 2011/09/18 23:24:14 matthew Exp $ */ +/* $OpenBSD: register.c,v 1.24 2012/12/04 02:24:47 deraadt Exp $ */ /* * Copyright 2002 Niels Provos <provos@citi.umich.edu> * All rights reserved. @@ -30,7 +30,6 @@ */ #include <sys/types.h> -#include <sys/param.h> #include <sys/tree.h> #include <stdlib.h> #include <unistd.h> diff --git a/bin/systrace/systrace.c b/bin/systrace/systrace.c index 2395e04b07a..80a3fa4a96d 100644 --- a/bin/systrace/systrace.c +++ b/bin/systrace/systrace.c @@ -1,4 +1,4 @@ -/* $OpenBSD: systrace.c,v 1.57 2012/08/23 00:08:36 guenther Exp $ */ +/* $OpenBSD: systrace.c,v 1.58 2012/12/04 02:24:47 deraadt Exp $ */ /* * Copyright 2002 Niels Provos <provos@citi.umich.edu> * All rights reserved. @@ -30,7 +30,6 @@ */ #include <sys/types.h> -#include <sys/param.h> #include <sys/wait.h> #include <sys/tree.h> #include <sys/socket.h> |