Trim system includes.
This commit is contained in:
parent
ce177501ef
commit
404095d2fa
36 changed files with 9 additions and 69 deletions
|
@ -34,7 +34,6 @@
|
|||
|
||||
#include <config.h>
|
||||
|
||||
#include <ctype.h>
|
||||
#include "commands.h"
|
||||
#include "item.h"
|
||||
#include "lost.h"
|
||||
|
|
|
@ -36,7 +36,6 @@
|
|||
#include "commands.h"
|
||||
#include "optlist.h"
|
||||
#include "ship.h"
|
||||
#include <ctype.h>
|
||||
|
||||
int
|
||||
foll(void)
|
||||
|
|
|
@ -35,7 +35,6 @@
|
|||
|
||||
#include <config.h>
|
||||
|
||||
#include <ctype.h>
|
||||
#include "commands.h"
|
||||
#include "file.h"
|
||||
#include "map.h"
|
||||
|
|
|
@ -33,7 +33,6 @@
|
|||
|
||||
#include <config.h>
|
||||
|
||||
#include <ctype.h>
|
||||
#include "commands.h"
|
||||
#include "optlist.h"
|
||||
#include "ship.h"
|
||||
|
|
|
@ -34,7 +34,6 @@
|
|||
|
||||
#include <config.h>
|
||||
|
||||
#include <ctype.h>
|
||||
#include "commands.h"
|
||||
#include "map.h"
|
||||
#include "optlist.h"
|
||||
|
|
|
@ -34,7 +34,6 @@
|
|||
|
||||
#include <config.h>
|
||||
|
||||
#include <ctype.h>
|
||||
#include "commands.h"
|
||||
#include "item.h"
|
||||
#include "optlist.h"
|
||||
|
|
|
@ -33,7 +33,6 @@
|
|||
|
||||
#include <config.h>
|
||||
|
||||
#include <ctype.h>
|
||||
#include "commands.h"
|
||||
#include "optlist.h"
|
||||
#include "empobj.h"
|
||||
|
|
|
@ -33,7 +33,6 @@
|
|||
|
||||
#include <config.h>
|
||||
|
||||
#include <ctype.h>
|
||||
#include "commands.h"
|
||||
#include "optlist.h"
|
||||
#include "path.h"
|
||||
|
|
|
@ -35,7 +35,6 @@
|
|||
|
||||
#include <config.h>
|
||||
|
||||
#include <ctype.h>
|
||||
#include "commands.h"
|
||||
|
||||
/*
|
||||
|
|
|
@ -34,7 +34,6 @@
|
|||
|
||||
#include <config.h>
|
||||
|
||||
#include <ctype.h>
|
||||
#include "commands.h"
|
||||
#include "lost.h"
|
||||
#include "news.h"
|
||||
|
|
|
@ -33,7 +33,6 @@
|
|||
|
||||
#include <config.h>
|
||||
|
||||
#include <ctype.h>
|
||||
#include "commands.h"
|
||||
|
||||
static void print_res(struct sctstr *);
|
||||
|
|
|
@ -35,7 +35,6 @@
|
|||
|
||||
#include <errno.h>
|
||||
#include <stdio.h>
|
||||
#include <time.h>
|
||||
#include "file.h"
|
||||
#include "optlist.h"
|
||||
#include "product.h"
|
||||
|
|
|
@ -34,7 +34,6 @@
|
|||
|
||||
#include <config.h>
|
||||
|
||||
#include <fcntl.h>
|
||||
#include "damage.h"
|
||||
#include "land.h"
|
||||
#include "misc.h"
|
||||
|
|
|
@ -38,7 +38,6 @@
|
|||
#include <errno.h>
|
||||
#include <fcntl.h>
|
||||
#include <sys/stat.h>
|
||||
#include <signal.h>
|
||||
#include <sys/types.h>
|
||||
#include <unistd.h>
|
||||
#include "file.h"
|
||||
|
|
|
@ -35,10 +35,8 @@
|
|||
|
||||
#include <config.h>
|
||||
|
||||
#include <fcntl.h>
|
||||
#include <sys/stat.h>
|
||||
#include <unistd.h>
|
||||
|
||||
#include "prototypes.h"
|
||||
|
||||
/*
|
||||
|
|
|
@ -33,8 +33,6 @@
|
|||
|
||||
#include <config.h>
|
||||
|
||||
#include <ctype.h>
|
||||
#include <stdio.h>
|
||||
#include "misc.h"
|
||||
#include "nat.h"
|
||||
#include "nsc.h"
|
||||
|
|
|
@ -37,7 +37,6 @@
|
|||
#include <config.h>
|
||||
|
||||
#include <ctype.h>
|
||||
#include <limits.h>
|
||||
#include <time.h>
|
||||
#include "misc.h"
|
||||
#include "optlist.h"
|
||||
|
|
|
@ -35,7 +35,6 @@
|
|||
|
||||
#include <config.h>
|
||||
|
||||
#include <assert.h>
|
||||
#include <ctype.h>
|
||||
#include <errno.h>
|
||||
#include <stdio.h>
|
||||
|
|
|
@ -33,10 +33,7 @@
|
|||
|
||||
#include <config.h>
|
||||
|
||||
#include <fcntl.h>
|
||||
#include <stdio.h>
|
||||
#include <time.h>
|
||||
#include <unistd.h>
|
||||
#include "file.h"
|
||||
#include "game.h"
|
||||
#include "misc.h"
|
||||
|
|
|
@ -33,7 +33,6 @@
|
|||
|
||||
#include <config.h>
|
||||
|
||||
#include <ctype.h>
|
||||
#include <errno.h>
|
||||
#include <stdarg.h>
|
||||
#include <stdio.h>
|
||||
|
|
|
@ -44,23 +44,17 @@
|
|||
#include <errno.h>
|
||||
#include <fcntl.h>
|
||||
#include <stdlib.h>
|
||||
#include <sys/socket.h>
|
||||
#include <sys/types.h>
|
||||
#include <sys/uio.h>
|
||||
#if !defined(_WIN32)
|
||||
#include <sys/file.h>
|
||||
#endif
|
||||
#include <sys/socket.h>
|
||||
#include <unistd.h>
|
||||
#include <time.h>
|
||||
|
||||
#include "empio.h"
|
||||
#include "empthread.h"
|
||||
#include "ioqueue.h"
|
||||
#include "misc.h"
|
||||
#include "queue.h"
|
||||
#include "server.h"
|
||||
|
||||
#include "empthread.h"
|
||||
|
||||
struct iop {
|
||||
int fd;
|
||||
struct ioqueue *input;
|
||||
|
|
|
@ -39,7 +39,6 @@
|
|||
|
||||
#include <config.h>
|
||||
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
#include <string.h>
|
||||
#include <sys/uio.h>
|
||||
|
|
|
@ -34,7 +34,6 @@
|
|||
|
||||
#include <config.h>
|
||||
|
||||
#include <stdio.h>
|
||||
#include <string.h>
|
||||
#include "lwp.h"
|
||||
#include "lwpint.h"
|
||||
|
|
|
@ -36,8 +36,6 @@
|
|||
#include <config.h>
|
||||
|
||||
#include <errno.h>
|
||||
#include <sys/uio.h>
|
||||
#include <sys/file.h>
|
||||
#include <sys/time.h>
|
||||
#include <time.h>
|
||||
#include <unistd.h>
|
||||
|
|
|
@ -34,19 +34,16 @@
|
|||
|
||||
#include <config.h>
|
||||
|
||||
#include <errno.h>
|
||||
#include <stdio.h>
|
||||
#include <sys/types.h>
|
||||
#include <sys/socket.h>
|
||||
#if !defined(_WIN32)
|
||||
#include <netinet/in.h>
|
||||
#include <arpa/inet.h>
|
||||
#include <netdb.h>
|
||||
#include <sys/ioctl.h>
|
||||
#endif
|
||||
#include <unistd.h>
|
||||
#include <signal.h>
|
||||
#include <errno.h>
|
||||
#include <fcntl.h>
|
||||
#include <stdio.h>
|
||||
|
||||
#include "empio.h"
|
||||
#include "empthread.h"
|
||||
|
|
|
@ -36,11 +36,7 @@
|
|||
#include <config.h>
|
||||
|
||||
#include <stdio.h>
|
||||
#include <fcntl.h>
|
||||
#include <time.h>
|
||||
#include <unistd.h>
|
||||
#include <signal.h>
|
||||
|
||||
#include "com.h"
|
||||
#include "empio.h"
|
||||
#include "file.h"
|
||||
|
|
|
@ -32,11 +32,9 @@
|
|||
*/
|
||||
|
||||
#include <config.h>
|
||||
#include <unistd.h>
|
||||
#include <stdio.h>
|
||||
#include <errno.h>
|
||||
#include <fcntl.h>
|
||||
|
||||
#include <errno.h>
|
||||
#include <stdio.h>
|
||||
#include "com.h"
|
||||
#include "empio.h"
|
||||
#include "empthread.h"
|
||||
|
@ -47,7 +45,6 @@
|
|||
#include "optlist.h"
|
||||
#include "player.h"
|
||||
#include "proto.h"
|
||||
#include "proto.h"
|
||||
#include "prototypes.h"
|
||||
#include "sect.h"
|
||||
#include "tel.h"
|
||||
|
|
|
@ -51,8 +51,6 @@
|
|||
|
||||
#include <config.h>
|
||||
|
||||
#include <fcntl.h>
|
||||
#include <ctype.h>
|
||||
#include <stdarg.h>
|
||||
#include <stdlib.h>
|
||||
#include "com.h"
|
||||
|
|
|
@ -33,7 +33,6 @@
|
|||
|
||||
#include <config.h>
|
||||
|
||||
#include <stdlib.h>
|
||||
#include "damage.h"
|
||||
#include "file.h"
|
||||
#include "land.h"
|
||||
|
|
|
@ -35,7 +35,6 @@
|
|||
#include <config.h>
|
||||
|
||||
#include <ctype.h>
|
||||
#include <stdlib.h>
|
||||
#include "file.h"
|
||||
#include "misc.h"
|
||||
#include "nat.h"
|
||||
|
|
|
@ -34,7 +34,6 @@
|
|||
|
||||
#include <config.h>
|
||||
|
||||
#include <stdlib.h>
|
||||
#include "file.h"
|
||||
#include "game.h"
|
||||
#include "land.h"
|
||||
|
|
|
@ -35,11 +35,10 @@
|
|||
|
||||
#include <fcntl.h>
|
||||
#include <stdarg.h>
|
||||
#include <stdlib.h>
|
||||
#include <unistd.h>
|
||||
#if !defined(_WIN32)
|
||||
#include <sys/uio.h>
|
||||
#endif
|
||||
#include <unistd.h>
|
||||
#include "file.h"
|
||||
#include "misc.h"
|
||||
#include "nat.h"
|
||||
|
|
|
@ -34,8 +34,6 @@
|
|||
|
||||
#include <config.h>
|
||||
|
||||
|
||||
#include <ctype.h>
|
||||
#include "nsc.h"
|
||||
#include "path.h"
|
||||
#include "update.h"
|
||||
|
|
|
@ -33,7 +33,6 @@
|
|||
|
||||
#include <config.h>
|
||||
|
||||
#include <ctype.h>
|
||||
#include "item.h"
|
||||
#include "land.h"
|
||||
#include "nsc.h"
|
||||
|
|
|
@ -66,12 +66,9 @@ static int quiet = 0;
|
|||
/* lower URAN_MIN for more uranium */
|
||||
#define URAN_MIN 56
|
||||
|
||||
#include <unistd.h>
|
||||
|
||||
#include <errno.h>
|
||||
#include <stdarg.h>
|
||||
#include <stdio.h>
|
||||
#include <fcntl.h>
|
||||
#include <unistd.h>
|
||||
#include "file.h"
|
||||
#include "misc.h"
|
||||
#include "nat.h"
|
||||
|
|
|
@ -35,14 +35,10 @@
|
|||
|
||||
#include <config.h>
|
||||
|
||||
#include <errno.h>
|
||||
#include <fcntl.h>
|
||||
#include <sys/stat.h>
|
||||
#include <errno.h>
|
||||
#if defined(_WIN32)
|
||||
#include <direct.h>
|
||||
#endif
|
||||
#include <unistd.h>
|
||||
|
||||
#include "file.h"
|
||||
#include "game.h"
|
||||
#include "land.h"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue