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:
nethack.rankin
2005-12-15 03:48:09 +00:00
parent 0303517e2d
commit cc06912040
6 changed files with 3 additions and 10 deletions

View File

@@ -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;

View File

@@ -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));

View File

@@ -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));

View File

@@ -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;

View File

@@ -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>

View File

@@ -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 *));