Include "file.h" where it's needed
Several headers define macros that use ef_ptr() without including "file.h". Fix that. Drop redundant inclusions elsewhere. Signed-off-by: Markus Armbruster <armbru@pond.sub.org>
This commit is contained in:
parent
b49c2f56af
commit
549561ff03
110 changed files with 13 additions and 109 deletions
|
@ -33,7 +33,6 @@
|
|||
#ifndef COMMANDS_H
|
||||
#define COMMANDS_H
|
||||
|
||||
#include "file.h"
|
||||
#include "nat.h"
|
||||
#include "nsc.h"
|
||||
#include "player.h"
|
||||
|
|
|
@ -35,7 +35,7 @@
|
|||
#ifndef COMMODITY_H
|
||||
#define COMMODITY_H
|
||||
|
||||
#include <time.h>
|
||||
#include "file.h"
|
||||
#include "types.h"
|
||||
#include "item.h"
|
||||
|
||||
|
|
|
@ -33,7 +33,7 @@
|
|||
#ifndef GAME_H
|
||||
#define GAME_H
|
||||
|
||||
#include <time.h>
|
||||
#include "file.h"
|
||||
|
||||
struct gamestr {
|
||||
/* initial part must match struct empobj */
|
||||
|
|
|
@ -36,7 +36,7 @@
|
|||
#ifndef LAND_H
|
||||
#define LAND_H
|
||||
|
||||
#include <time.h>
|
||||
#include "file.h"
|
||||
#include "item.h"
|
||||
#include "retreat.h"
|
||||
#include "types.h"
|
||||
|
|
|
@ -33,7 +33,7 @@
|
|||
#ifndef LOAN_H
|
||||
#define LOAN_H
|
||||
|
||||
#include <time.h>
|
||||
#include "file.h"
|
||||
#include "types.h"
|
||||
|
||||
#define MAXLOAN 100000
|
||||
|
|
|
@ -33,7 +33,7 @@
|
|||
#ifndef LOST_H
|
||||
#define LOST_H
|
||||
|
||||
#include <time.h>
|
||||
#include "file.h"
|
||||
#include "types.h"
|
||||
|
||||
struct loststr {
|
||||
|
|
|
@ -37,7 +37,7 @@
|
|||
#ifndef NAT_H
|
||||
#define NAT_H
|
||||
|
||||
#include <time.h>
|
||||
#include "file.h"
|
||||
#include "types.h"
|
||||
|
||||
#define NATID_BAD 255
|
||||
|
|
|
@ -40,7 +40,7 @@
|
|||
#ifndef NEWS_H
|
||||
#define NEWS_H
|
||||
|
||||
#include <time.h>
|
||||
#include "file.h"
|
||||
#include "nsc.h"
|
||||
|
||||
struct nwsstr {
|
||||
|
|
|
@ -34,7 +34,7 @@
|
|||
#ifndef NUKE_H
|
||||
#define NUKE_H
|
||||
|
||||
#include <time.h>
|
||||
#include "file.h"
|
||||
#include "item.h"
|
||||
#include "types.h"
|
||||
|
||||
|
|
|
@ -36,7 +36,7 @@
|
|||
#ifndef PLANE_H
|
||||
#define PLANE_H
|
||||
|
||||
#include <time.h>
|
||||
#include "file.h"
|
||||
#include "item.h"
|
||||
#include "queue.h"
|
||||
#include "types.h"
|
||||
|
|
|
@ -33,6 +33,7 @@
|
|||
#ifndef POWER_H
|
||||
#define POWER_H
|
||||
|
||||
#include "file.h"
|
||||
#include "types.h"
|
||||
|
||||
struct powstr {
|
||||
|
|
|
@ -37,7 +37,7 @@
|
|||
#ifndef SECT_H
|
||||
#define SECT_H
|
||||
|
||||
#include <time.h>
|
||||
#include "file.h"
|
||||
#include "item.h"
|
||||
#include "types.h"
|
||||
|
||||
|
|
|
@ -37,7 +37,7 @@
|
|||
#ifndef SHIP_H
|
||||
#define SHIP_H
|
||||
|
||||
#include <time.h>
|
||||
#include "file.h"
|
||||
#include "item.h"
|
||||
#include "retreat.h"
|
||||
#include "types.h"
|
||||
|
|
|
@ -36,7 +36,7 @@
|
|||
#ifndef TRADE_H
|
||||
#define TRADE_H
|
||||
|
||||
#include <time.h>
|
||||
#include "file.h"
|
||||
#include "types.h"
|
||||
|
||||
struct trdstr {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue