forward declarations for struct monst, struct obj
This should eliminate the 'onefile' complaint for objects.c without breaking anything with any standard conforming compiler. (Fingers crossed.)
This commit is contained in:
@@ -2,8 +2,6 @@
|
||||
/* Copyright (c) Mike Threepoint, 1989. */
|
||||
/* NetHack may be freely redistributed. See license for details. */
|
||||
|
||||
struct monst { struct monst *dummy; }; /* lint: struct obj's union */
|
||||
|
||||
#include "config.h"
|
||||
#include "obj.h"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user