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:
parent
16a0869bb0
commit
e42053d928
373 changed files with 1193 additions and 2516 deletions
|
@ -33,20 +33,21 @@
|
|||
|
||||
#include <config.h>
|
||||
|
||||
#include "misc.h"
|
||||
#include "player.h"
|
||||
#include "xy.h"
|
||||
#include "nat.h"
|
||||
#include "file.h"
|
||||
#include "sect.h"
|
||||
#include "nuke.h"
|
||||
#include "ship.h"
|
||||
#include "land.h"
|
||||
#include "lost.h"
|
||||
#include "misc.h"
|
||||
#include "nat.h"
|
||||
#include "news.h"
|
||||
#include "plane.h"
|
||||
#include "nsc.h"
|
||||
#include "nuke.h"
|
||||
#include "optlist.h"
|
||||
#include "plane.h"
|
||||
#include "player.h"
|
||||
#include "prototypes.h"
|
||||
#include "sect.h"
|
||||
#include "ship.h"
|
||||
#include "xy.h"
|
||||
|
||||
static void kaboom(int x, int y, int rad, natid cn);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue