Skip to content

Commit

Permalink
Remove some duplicate includes in bin/, games/ and lib/.
Browse files Browse the repository at this point in the history
  • Loading branch information
Sascha Wildner committed May 14, 2011
1 parent 27ebe7f commit cc609d8
Show file tree
Hide file tree
Showing 14 changed files with 0 additions and 28 deletions.
2 changes: 0 additions & 2 deletions bin/hostname/hostname.c
Expand Up @@ -33,7 +33,6 @@
* @(#) Copyright (c) 1988, 1993 The Regents of the University of California. All rights reserved. * @(#) Copyright (c) 1988, 1993 The Regents of the University of California. All rights reserved.
* @(#)hostname.c 8.1 (Berkeley) 5/31/93 * @(#)hostname.c 8.1 (Berkeley) 5/31/93
* $FreeBSD: src/bin/hostname/hostname.c,v 1.10.2.1 2001/08/01 02:40:23 obrien Exp $ * $FreeBSD: src/bin/hostname/hostname.c,v 1.10.2.1 2001/08/01 02:40:23 obrien Exp $
* $DragonFly: src/bin/hostname/hostname.c,v 1.14 2008/09/02 22:20:55 swildner Exp $
*/ */


#include <sys/param.h> #include <sys/param.h>
Expand All @@ -59,7 +58,6 @@


#include <netdb.h> #include <netdb.h>
#include <sys/types.h> #include <sys/types.h>
#include <netinet/in.h>
#include <arpa/inet.h> #include <arpa/inet.h>


#include <errno.h> #include <errno.h>
Expand Down
2 changes: 0 additions & 2 deletions bin/rcp/rcp.c
Expand Up @@ -40,7 +40,6 @@
* @(#) Copyright (c) 1983, 1990, 1992, 1993 The Regents of the University of California. All rights reserved. * @(#) Copyright (c) 1983, 1990, 1992, 1993 The Regents of the University of California. All rights reserved.
* @(#)rcp.c 8.2 (Berkeley) 4/2/94 * @(#)rcp.c 8.2 (Berkeley) 4/2/94
* $FreeBSD: src/bin/rcp/rcp.c,v 1.26.2.6 2004/09/16 12:16:10 delphij Exp $ * $FreeBSD: src/bin/rcp/rcp.c,v 1.26.2.6 2004/09/16 12:16:10 delphij Exp $
* $DragonFly: src/bin/rcp/rcp.c,v 1.6 2005/01/07 20:30:21 dillon Exp $
*/ */


#include <sys/cdefs.h> #include <sys/cdefs.h>
Expand All @@ -66,7 +65,6 @@
#include <stdio.h> #include <stdio.h>
#include <stdlib.h> #include <stdlib.h>
#include <string.h> #include <string.h>
#include <string.h>
#include <unistd.h> #include <unistd.h>


#include "extern.h" #include "extern.h"
Expand Down
2 changes: 0 additions & 2 deletions games/grdc/grdc.c
Expand Up @@ -9,7 +9,6 @@
* 03-23-04 added centering, scroll delay (cap) * 03-23-04 added centering, scroll delay (cap)
* *
* $FreeBSD: src/games/grdc/grdc.c,v 1.8.2.1 2001/10/02 11:51:49 ru Exp $ * $FreeBSD: src/games/grdc/grdc.c,v 1.8.2.1 2001/10/02 11:51:49 ru Exp $
* $DragonFly: src/games/grdc/grdc.c,v 1.6 2007/04/18 18:32:12 swildner Exp $
*/ */


#include <err.h> #include <err.h>
Expand All @@ -20,7 +19,6 @@
#ifndef NONPOSIX #ifndef NONPOSIX
#include <unistd.h> #include <unistd.h>
#endif #endif
#include <time.h>


#define XLENGTH 58 #define XLENGTH 58
#define YDEPTH 7 #define YDEPTH 7
Expand Down
2 changes: 0 additions & 2 deletions games/snake/snake/snake.c
Expand Up @@ -29,7 +29,6 @@
* @(#) Copyright (c) 1980, 1993 The Regents of the University of California. All rights reserved. * @(#) Copyright (c) 1980, 1993 The Regents of the University of California. All rights reserved.
* @(#)snake.c 8.2 (Berkeley) 1/7/94 * @(#)snake.c 8.2 (Berkeley) 1/7/94
* $FreeBSD: src/games/snake/snake/snake.c,v 1.11.2.1 2000/08/17 06:21:44 jhb Exp $ * $FreeBSD: src/games/snake/snake/snake.c,v 1.11.2.1 2000/08/17 06:21:44 jhb Exp $
* $DragonFly: src/games/snake/snake/snake.c,v 1.4 2006/09/03 23:47:56 pavalos Exp $
*/ */


/* /*
Expand All @@ -56,7 +55,6 @@
#include <math.h> #include <math.h>
#include <signal.h> #include <signal.h>
#include <stdio.h> #include <stdio.h>
#include <stdlib.h>
#include <string.h> #include <string.h>
#include <termios.h> #include <termios.h>


Expand Down
3 changes: 0 additions & 3 deletions lib/libc/rpc/bindresvport.c
Expand Up @@ -30,7 +30,6 @@
* @(#)bindresvport.c 2.2 88/07/29 4.0 RPCSRC * @(#)bindresvport.c 2.2 88/07/29 4.0 RPCSRC
* $NetBSD: bindresvport.c,v 1.19 2000/07/06 03:03:59 christos Exp $ * $NetBSD: bindresvport.c,v 1.19 2000/07/06 03:03:59 christos Exp $
* $FreeBSD: src/lib/libc/rpc/bindresvport.c,v 1.16 2004/10/16 06:11:34 obrien Exp $ * $FreeBSD: src/lib/libc/rpc/bindresvport.c,v 1.16 2004/10/16 06:11:34 obrien Exp $
* $DragonFly: src/lib/libc/rpc/bindresvport.c,v 1.4 2005/11/13 12:27:04 swildner Exp $
*/ */


/* /*
Expand All @@ -50,8 +49,6 @@
#include <unistd.h> #include <unistd.h>


#include <rpc/rpc.h> #include <rpc/rpc.h>

#include <string.h>
#include "un-namespace.h" #include "un-namespace.h"


/* /*
Expand Down
2 changes: 0 additions & 2 deletions lib/libc/rpc/key_call.c
Expand Up @@ -31,7 +31,6 @@
* *
* @(#)key_call.c 1.25 94/04/24 SMI * @(#)key_call.c 1.25 94/04/24 SMI
* $FreeBSD: src/lib/libc/rpc/key_call.c,v 1.16 2006/02/27 22:10:59 deischen Exp $ * $FreeBSD: src/lib/libc/rpc/key_call.c,v 1.16 2006/02/27 22:10:59 deischen Exp $
* $DragonFly: src/lib/libc/rpc/key_call.c,v 1.6 2005/11/13 12:27:04 swildner Exp $
*/ */


/* /*
Expand All @@ -56,7 +55,6 @@
#include <string.h> #include <string.h>
#include <netconfig.h> #include <netconfig.h>
#include <sys/utsname.h> #include <sys/utsname.h>
#include <stdlib.h>
#include <signal.h> #include <signal.h>
#include <sys/wait.h> #include <sys/wait.h>
#include <sys/fcntl.h> #include <sys/fcntl.h>
Expand Down
1 change: 0 additions & 1 deletion lib/libc/rpc/rpc_soc.c
Expand Up @@ -60,7 +60,6 @@
#include <netinet/in.h> #include <netinet/in.h>
#include <netdb.h> #include <netdb.h>
#include <errno.h> #include <errno.h>
#include <syslog.h>
#include <stdlib.h> #include <stdlib.h>
#include <string.h> #include <string.h>
#include <unistd.h> #include <unistd.h>
Expand Down
2 changes: 0 additions & 2 deletions lib/libc_r/uthread/uthread_gc.c
Expand Up @@ -30,7 +30,6 @@
* SUCH DAMAGE. * SUCH DAMAGE.
* *
* $FreeBSD: src/lib/libc_r/uthread/uthread_gc.c,v 1.11.2.5 2002/10/22 14:44:03 fjoe Exp $ * $FreeBSD: src/lib/libc_r/uthread/uthread_gc.c,v 1.11.2.5 2002/10/22 14:44:03 fjoe Exp $
* $DragonFly: src/lib/libc_r/uthread/uthread_gc.c,v 1.3 2005/04/28 18:16:47 joerg Exp $
* *
* Garbage collector thread. Frees memory allocated for dead threads. * Garbage collector thread. Frees memory allocated for dead threads.
* *
Expand All @@ -40,7 +39,6 @@
#include <stdlib.h> #include <stdlib.h>
#include <unistd.h> #include <unistd.h>
#include <sys/types.h> #include <sys/types.h>
#include <sys/types.h>
#include <sys/mman.h> #include <sys/mman.h>
#include <pthread.h> #include <pthread.h>
#include "pthread_private.h" #include "pthread_private.h"
Expand Down
3 changes: 0 additions & 3 deletions lib/libcompat/4.3/regex.c
Expand Up @@ -34,8 +34,6 @@
* SUCH DAMAGE. * SUCH DAMAGE.
* *
* @(#)regex.c 5.1 (Berkeley) 3/29/92 * @(#)regex.c 5.1 (Berkeley) 3/29/92
*
* $DragonFly: src/lib/libcompat/4.3/regex.c,v 1.3 2008/09/30 16:57:04 swildner Exp $
*/ */


/* /*
Expand All @@ -50,7 +48,6 @@
#include <regexp.h> #include <regexp.h>
#include <string.h> #include <string.h>
#include <stdlib.h> #include <stdlib.h>
#include <string.h>


static regexp *re_regexp; static regexp *re_regexp;
static int re_goterr; static int re_goterr;
Expand Down
2 changes: 0 additions & 2 deletions lib/libcompat/4.3/rexec.c
Expand Up @@ -31,7 +31,6 @@
* SUCH DAMAGE. * SUCH DAMAGE.
* *
* $FreeBSD: src/lib/libcompat/4.3/rexec.c,v 1.5.8.3 2000/11/22 13:36:00 ben Exp $ * $FreeBSD: src/lib/libcompat/4.3/rexec.c,v 1.5.8.3 2000/11/22 13:36:00 ben Exp $
* $DragonFly: src/lib/libcompat/4.3/rexec.c,v 1.6 2008/10/05 18:26:41 swildner Exp $
* *
* @(#)rexec.c 8.1 (Berkeley) 6/4/93 * @(#)rexec.c 8.1 (Berkeley) 6/4/93
*/ */
Expand All @@ -52,7 +51,6 @@
#include <ctype.h> #include <ctype.h>
#include <err.h> #include <err.h>
#include <stdlib.h> #include <stdlib.h>
#include <unistd.h>


int rexecoptions; int rexecoptions;
char *getpass(), *getlogin(); char *getpass(), *getlogin();
Expand Down
2 changes: 0 additions & 2 deletions lib/libipsec/pfkey_dump.c
@@ -1,5 +1,4 @@
/* $FreeBSD: src/lib/libipsec/pfkey_dump.c,v 1.1.2.4 2003/04/27 00:03:36 sumikawa Exp $ */ /* $FreeBSD: src/lib/libipsec/pfkey_dump.c,v 1.1.2.4 2003/04/27 00:03:36 sumikawa Exp $ */
/* $DragonFly: src/lib/libipsec/pfkey_dump.c,v 1.3 2003/11/12 20:21:30 eirikn Exp $ */
/* $KAME: pfkey_dump.c,v 1.28 2001/06/27 10:46:51 sakane Exp $ */ /* $KAME: pfkey_dump.c,v 1.28 2001/06/27 10:46:51 sakane Exp $ */


/* /*
Expand Down Expand Up @@ -40,7 +39,6 @@
#include <netkey/key_debug.h> #include <netkey/key_debug.h>


#include <netinet/in.h> #include <netinet/in.h>
#include <netinet6/ipsec.h>
#include <arpa/inet.h> #include <arpa/inet.h>


#include <stdlib.h> #include <stdlib.h>
Expand Down
1 change: 0 additions & 1 deletion lib/libncurses/libncurses/termcap.c
Expand Up @@ -59,7 +59,6 @@
#include <stdio.h> #include <stdio.h>
#include <ctype.h> #include <ctype.h>
#include <stdlib.h> #include <stdlib.h>
#include <string.h>
#include <unistd.h> #include <unistd.h>
#include <sys/param.h> #include <sys/param.h>
#include "pathnames.h" #include "pathnames.h"
Expand Down
2 changes: 0 additions & 2 deletions lib/libnetgraph/debug.c
Expand Up @@ -37,7 +37,6 @@
* Author: Archie Cobbs <archie@whistle.com> * Author: Archie Cobbs <archie@whistle.com>
* *
* $FreeBSD: src/lib/libnetgraph/debug.c,v 1.5.2.1 2000/05/01 18:09:54 archie Exp $ * $FreeBSD: src/lib/libnetgraph/debug.c,v 1.5.2.1 2000/05/01 18:09:54 archie Exp $
* $DragonFly: src/lib/libnetgraph/debug.c,v 1.4 2007/06/17 20:33:14 swildner Exp $
* $Whistle: debug.c,v 1.24 1999/01/24 01:15:33 archie Exp $ * $Whistle: debug.c,v 1.24 1999/01/24 01:15:33 archie Exp $
*/ */


Expand Down Expand Up @@ -78,7 +77,6 @@
#include <netgraph/pppoe/ng_pppoe.h> #include <netgraph/pppoe/ng_pppoe.h>
#include <netgraph/pptpgre/ng_pptpgre.h> #include <netgraph/pptpgre/ng_pptpgre.h>
#include <netgraph/rfc1490/ng_rfc1490.h> #include <netgraph/rfc1490/ng_rfc1490.h>
#include <netgraph/socket/ng_socket.h>
#include <netgraph/tee/ng_tee.h> #include <netgraph/tee/ng_tee.h>
#include <netgraph/tty/ng_tty.h> #include <netgraph/tty/ng_tty.h>
#include <netgraph/vjc/ng_vjc.h> #include <netgraph/vjc/ng_vjc.h>
Expand Down
2 changes: 0 additions & 2 deletions lib/pam_module/pam_ssh/pam_ssh.c
Expand Up @@ -32,7 +32,6 @@
* SUCH DAMAGE. * SUCH DAMAGE.
* *
* $FreeBSD: src/lib/libpam/modules/pam_ssh/pam_ssh.c,v 1.45 2007/12/21 12:00:15 des Exp $ * $FreeBSD: src/lib/libpam/modules/pam_ssh/pam_ssh.c,v 1.45 2007/12/21 12:00:15 des Exp $
* $DragonFly: src/lib/pam_module/pam_ssh/pam_ssh.c,v 1.2 2006/09/29 06:35:03 corecode Exp $
*/ */


#include <sys/param.h> #include <sys/param.h>
Expand All @@ -58,7 +57,6 @@


#include "buffer.h" #include "buffer.h"
#include "key.h" #include "key.h"
#include "buffer.h"
#include "authfd.h" #include "authfd.h"
#include "authfile.h" #include "authfile.h"


Expand Down

0 comments on commit cc609d8

Please sign in to comment.