Break inclusion cycle: prototypes.h and commands.h included each

other.  Ensure headers in include/ can be included in any order
(except for econfig-spec.h, which is special).  New header types.h to
help avoid inclusion cycles.  Sort include directives.  Remove some
superflous includes.
This commit is contained in:
Markus Armbruster 2006-07-10 06:37:23 +00:00
parent 16a0869bb0
commit e42053d928
373 changed files with 1193 additions and 2516 deletions

View file

@ -38,18 +38,16 @@
#include <errno.h>
#include <fcntl.h>
#include <signal.h>
#include <stdlib.h>
#include <string.h>
#if !defined(_WIN32)
#include <sys/types.h>
#include <unistd.h>
#endif
#include "common.h"
#include "file.h"
#include "gen.h"
#include "match.h"
#include "misc.h"
#include "nsc.h"
#include "optlist.h"
#include "prototypes.h"
static int fillcache(struct empfile *, int);
static int do_write(struct empfile *, void *, int, int);