redundant includes
Remove several duplicate includes I discovered while reconciling the vms Makefile. All of these are already being brought in via hack.h so don't need to be explicitly included after it.
This commit is contained in:
@@ -40,7 +40,6 @@ NEARDATA int in_doagain = 0;
|
||||
*/
|
||||
struct dgn_topology dungeon_topology = {DUMMY};
|
||||
|
||||
#include "quest.h"
|
||||
struct q_score quest_status = DUMMY;
|
||||
|
||||
NEARDATA int warn_obj_cnt = 0;
|
||||
|
||||
@@ -116,7 +116,6 @@
|
||||
* vertical.
|
||||
*/
|
||||
#include "hack.h"
|
||||
#include "region.h"
|
||||
|
||||
STATIC_DCL void FDECL(display_monster,(XCHAR_P,XCHAR_P,struct monst *,int,XCHAR_P));
|
||||
STATIC_DCL int FDECL(swallow_to_glyph, (int, int));
|
||||
|
||||
@@ -3,7 +3,6 @@
|
||||
/* NetHack may be freely redistributed. See license for details. */
|
||||
|
||||
#include "hack.h"
|
||||
#include "prop.h"
|
||||
|
||||
STATIC_DCL void FDECL(mkbox_cnts,(struct obj *));
|
||||
STATIC_DCL void FDECL(obj_timer_checks,(struct obj *, XCHAR_P, XCHAR_P, int));
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
/* SCCS Id: @(#)restore.c 3.5 2005/01/04 */
|
||||
/* SCCS Id: @(#)restore.c 3.5 2005/12/14 */
|
||||
/* Copyright (c) Stichting Mathematisch Centrum, Amsterdam, 1985. */
|
||||
/* NetHack may be freely redistributed. See license for details. */
|
||||
|
||||
@@ -87,8 +87,6 @@ void FDECL( amii_setpens, (int) ); /* use colors from save file */
|
||||
extern int amii_numcolors;
|
||||
#endif
|
||||
|
||||
#include "quest.h"
|
||||
|
||||
boolean restoring = FALSE;
|
||||
static NEARDATA struct fruit *oldfruit;
|
||||
static NEARDATA long omoves;
|
||||
|
||||
@@ -1,10 +1,9 @@
|
||||
/* SCCS Id: @(#)save.c 3.5 2005/01/04 */
|
||||
/* SCCS Id: @(#)save.c 3.5 2005/12/14 */
|
||||
/* Copyright (c) Stichting Mathematisch Centrum, Amsterdam, 1985. */
|
||||
/* NetHack may be freely redistributed. See license for details. */
|
||||
|
||||
#include "hack.h"
|
||||
#include "lev.h"
|
||||
#include "quest.h"
|
||||
|
||||
#ifndef NO_SIGNAL
|
||||
#include <signal.h>
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
/* SCCS Id: @(#)sp_lev.c 3.5 2001/09/06 */
|
||||
/* SCCS Id: @(#)sp_lev.c 3.5 2005/12/14 */
|
||||
/* Copyright (c) 1989 by Jean-Christophe Collet */
|
||||
/* NetHack may be freely redistributed. See license for details. */
|
||||
|
||||
@@ -22,7 +22,6 @@
|
||||
#endif
|
||||
|
||||
#include "sp_lev.h"
|
||||
#include "rect.h"
|
||||
|
||||
extern void FDECL(mkmap, (lev_init *));
|
||||
|
||||
|
||||
Reference in New Issue
Block a user