summaryrefslogtreecommitdiffstats
path: root/hack/def.gold.h
diff options
context:
space:
mode:
authorchristos <christos@NetBSD.org>1997-10-19 16:56:41 +0000
committerchristos <christos@NetBSD.org>1997-10-19 16:56:41 +0000
commit84e7d0704483ce39bbdeacd5e676168db6fa664f (patch)
treef9ffeffa1a4342e749494bc3f5618552435839af /hack/def.gold.h
parentf73f1009084e75624e3bc00fef9cf4749de80dcc (diff)
downloadbsdgames-darwin-84e7d0704483ce39bbdeacd5e676168db6fa664f.tar.gz
bsdgames-darwin-84e7d0704483ce39bbdeacd5e676168db6fa664f.tar.zst
bsdgames-darwin-84e7d0704483ce39bbdeacd5e676168db6fa664f.zip
WARNsify...
Diffstat (limited to 'hack/def.gold.h')
-rw-r--r--hack/def.gold.h11
1 files changed, 6 insertions, 5 deletions
diff --git a/hack/def.gold.h b/hack/def.gold.h
index 7333bdd5..426783f2 100644
--- a/hack/def.gold.h
+++ b/hack/def.gold.h
@@ -1,15 +1,16 @@
+/* $NetBSD: def.gold.h,v 1.4 1997/10/19 16:57:03 christos Exp $ */
+
/*
* Copyright (c) Stichting Mathematisch Centrum, Amsterdam, 1985.
- *
- * $NetBSD: def.gold.h,v 1.3 1995/03/23 08:29:27 cgd Exp $
*/
-
+#ifndef _DEF_GOLD_H_
+#define _DEF_GOLD_H_
struct gold {
struct gold *ngold;
xchar gx,gy;
long amount;
};
-extern struct gold *fgold;
-struct gold *g_at();
#define newgold() (struct gold *) alloc(sizeof(struct gold))
+extern struct gold *fgold;
+#endif /* _DEF_GOLD_H_ */