diff options
author | Xavier Santolaria <xsa@cvs.openbsd.org> | 2006-01-02 08:13:29 +0000 |
---|---|---|
committer | Xavier Santolaria <xsa@cvs.openbsd.org> | 2006-01-02 08:13:29 +0000 |
commit | 5a3968cd2c8a9496768dc4f31f78c70ffa5b2fac (patch) | |
tree | 02fc72c1256285fd941b8c389987d0aa7802a661 /usr.bin | |
parent | e8f3e88946eccc37e02ea7dcc47573958a616ce0 (diff) |
#include's cleanup; ok joris@ niallo@.
Diffstat (limited to 'usr.bin')
-rw-r--r-- | usr.bin/rcs/ci.c | 14 | ||||
-rw-r--r-- | usr.bin/rcs/co.c | 10 | ||||
-rw-r--r-- | usr.bin/rcs/ident.c | 10 | ||||
-rw-r--r-- | usr.bin/rcs/rcsclean.c | 11 | ||||
-rw-r--r-- | usr.bin/rcs/rcsdiff.c | 10 | ||||
-rw-r--r-- | usr.bin/rcs/rcsmerge.c | 10 | ||||
-rw-r--r-- | usr.bin/rcs/rcsprog.c | 15 | ||||
-rw-r--r-- | usr.bin/rcs/rlog.c | 11 |
8 files changed, 16 insertions, 75 deletions
diff --git a/usr.bin/rcs/ci.c b/usr.bin/rcs/ci.c index 45316432033..9a499658823 100644 --- a/usr.bin/rcs/ci.c +++ b/usr.bin/rcs/ci.c @@ -1,4 +1,4 @@ -/* $OpenBSD: ci.c,v 1.90 2005/12/27 16:05:21 niallo Exp $ */ +/* $OpenBSD: ci.c,v 1.91 2006/01/02 08:13:28 xsa Exp $ */ /* * Copyright (c) 2005 Niall O'Higgins <niallo@openbsd.org> * All rights reserved. @@ -24,17 +24,7 @@ * ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */ -#include <sys/param.h> -#include <sys/types.h> -#include <sys/stat.h> -#include <sys/wait.h> - -#include <ctype.h> -#include <pwd.h> -#include <stdio.h> -#include <stdlib.h> -#include <string.h> -#include <unistd.h> +#include "includes.h" #include "log.h" #include "rcs.h" diff --git a/usr.bin/rcs/co.c b/usr.bin/rcs/co.c index 109b3f9c8d1..fdf924a0353 100644 --- a/usr.bin/rcs/co.c +++ b/usr.bin/rcs/co.c @@ -1,4 +1,4 @@ -/* $OpenBSD: co.c,v 1.50 2005/12/27 16:05:21 niallo Exp $ */ +/* $OpenBSD: co.c,v 1.51 2006/01/02 08:13:28 xsa Exp $ */ /* * Copyright (c) 2005 Joris Vink <joris@openbsd.org> * All rights reserved. @@ -24,13 +24,7 @@ * ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */ -#include <sys/param.h> -#include <sys/stat.h> - -#include <stdio.h> -#include <stdlib.h> -#include <string.h> -#include <unistd.h> +#include "includes.h" #include "log.h" #include "rcs.h" diff --git a/usr.bin/rcs/ident.c b/usr.bin/rcs/ident.c index 579c0a2c25d..4d5ed7f5b4a 100644 --- a/usr.bin/rcs/ident.c +++ b/usr.bin/rcs/ident.c @@ -1,4 +1,4 @@ -/* $OpenBSD: ident.c,v 1.8 2005/11/30 17:51:12 xsa Exp $ */ +/* $OpenBSD: ident.c,v 1.9 2006/01/02 08:13:28 xsa Exp $ */ /* * Copyright (c) 2005 Xavier Santolaria <xsa@openbsd.org> * All rights reserved. @@ -24,13 +24,7 @@ * ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */ -#include <sys/param.h> - -#include <ctype.h> -#include <stdio.h> -#include <stdlib.h> -#include <string.h> -#include <unistd.h> +#include "includes.h" #include "log.h" #include "rcs.h" diff --git a/usr.bin/rcs/rcsclean.c b/usr.bin/rcs/rcsclean.c index 7c1a67a6956..e936add9711 100644 --- a/usr.bin/rcs/rcsclean.c +++ b/usr.bin/rcs/rcsclean.c @@ -1,4 +1,4 @@ -/* $OpenBSD: rcsclean.c,v 1.21 2005/12/19 18:24:12 xsa Exp $ */ +/* $OpenBSD: rcsclean.c,v 1.22 2006/01/02 08:13:28 xsa Exp $ */ /* * Copyright (c) 2005 Joris Vink <joris@openbsd.org> * All rights reserved. @@ -24,14 +24,7 @@ * ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */ -#include <sys/param.h> -#include <sys/stat.h> - -#include <dirent.h> -#include <stdio.h> -#include <stdlib.h> -#include <string.h> -#include <unistd.h> +#include "includes.h" #include "log.h" #include "rcs.h" diff --git a/usr.bin/rcs/rcsdiff.c b/usr.bin/rcs/rcsdiff.c index cf625668525..7b2be4b6183 100644 --- a/usr.bin/rcs/rcsdiff.c +++ b/usr.bin/rcs/rcsdiff.c @@ -1,4 +1,4 @@ -/* $OpenBSD: rcsdiff.c,v 1.28 2005/12/27 16:05:21 niallo Exp $ */ +/* $OpenBSD: rcsdiff.c,v 1.29 2006/01/02 08:13:28 xsa Exp $ */ /* * Copyright (c) 2005 Joris Vink <joris@openbsd.org> * All rights reserved. @@ -24,13 +24,7 @@ * ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */ -#include <sys/param.h> -#include <sys/stat.h> - -#include <stdio.h> -#include <stdlib.h> -#include <string.h> -#include <unistd.h> +#include "includes.h" #include "log.h" #include "rcs.h" diff --git a/usr.bin/rcs/rcsmerge.c b/usr.bin/rcs/rcsmerge.c index 9d1e44d4f9c..4f1384a8af6 100644 --- a/usr.bin/rcs/rcsmerge.c +++ b/usr.bin/rcs/rcsmerge.c @@ -1,4 +1,4 @@ -/* $OpenBSD: rcsmerge.c,v 1.11 2005/12/10 20:27:46 joris Exp $ */ +/* $OpenBSD: rcsmerge.c,v 1.12 2006/01/02 08:13:28 xsa Exp $ */ /* * Copyright (c) 2005 Xavier Santolaria <xsa@openbsd.org> * All rights reserved. @@ -24,13 +24,7 @@ * ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */ -#include <sys/param.h> -#include <sys/stat.h> - -#include <stdio.h> -#include <stdlib.h> -#include <string.h> -#include <unistd.h> +#include "includes.h" #include "log.h" #include "rcs.h" diff --git a/usr.bin/rcs/rcsprog.c b/usr.bin/rcs/rcsprog.c index 5e3dde89a63..30314fe4fa8 100644 --- a/usr.bin/rcs/rcsprog.c +++ b/usr.bin/rcs/rcsprog.c @@ -1,4 +1,4 @@ -/* $OpenBSD: rcsprog.c,v 1.58 2005/12/27 16:05:21 niallo Exp $ */ +/* $OpenBSD: rcsprog.c,v 1.59 2006/01/02 08:13:28 xsa Exp $ */ /* * Copyright (c) 2005 Jean-Francois Brousseau <jfb@openbsd.org> * All rights reserved. @@ -24,18 +24,7 @@ * ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */ -#include <sys/param.h> -#include <sys/wait.h> -#include <sys/stat.h> - -#include <ctype.h> -#include <err.h> -#include <errno.h> -#include <pwd.h> -#include <string.h> -#include <stdio.h> -#include <stdlib.h> -#include <unistd.h> +#include "includes.h" #include "log.h" #include "rcs.h" diff --git a/usr.bin/rcs/rlog.c b/usr.bin/rcs/rlog.c index e7453a330e1..83ca7fbf8db 100644 --- a/usr.bin/rcs/rlog.c +++ b/usr.bin/rcs/rlog.c @@ -1,4 +1,4 @@ -/* $OpenBSD: rlog.c,v 1.17 2005/12/27 16:36:03 niallo Exp $ */ +/* $OpenBSD: rlog.c,v 1.18 2006/01/02 08:13:28 xsa Exp $ */ /* * Copyright (c) 2005 Joris Vink <joris@openbsd.org> * All rights reserved. @@ -24,14 +24,7 @@ * ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */ -#include <sys/param.h> -#include <sys/stat.h> - -#include <dirent.h> -#include <stdio.h> -#include <stdlib.h> -#include <string.h> -#include <unistd.h> +#include "includes.h" #include "log.h" #include "rcs.h" |