summaryrefslogtreecommitdiffstats
path: root/hack/def.trap.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.trap.h
parentf73f1009084e75624e3bc00fef9cf4749de80dcc (diff)
downloadbsdgames-darwin-84e7d0704483ce39bbdeacd5e676168db6fa664f.tar.gz
bsdgames-darwin-84e7d0704483ce39bbdeacd5e676168db6fa664f.tar.zst
bsdgames-darwin-84e7d0704483ce39bbdeacd5e676168db6fa664f.zip
WARNsify...
Diffstat (limited to 'hack/def.trap.h')
-rw-r--r--hack/def.trap.h9
1 files changed, 5 insertions, 4 deletions
diff --git a/hack/def.trap.h b/hack/def.trap.h
index 55477e48..57401f06 100644
--- a/hack/def.trap.h
+++ b/hack/def.trap.h
@@ -1,9 +1,10 @@
+/* $NetBSD: def.trap.h,v 1.4 1997/10/19 16:57:23 christos Exp $ */
+
/*
* Copyright (c) Stichting Mathematisch Centrum, Amsterdam, 1985.
- *
- * $NetBSD: def.trap.h,v 1.3 1995/03/23 08:29:41 cgd Exp $
*/
-
+#ifndef _DEF_TRAP_H_
+#define _DEF_TRAP_H_
struct trap {
struct trap *ntrap;
xchar tx,ty;
@@ -13,7 +14,6 @@ struct trap {
};
extern struct trap *ftrap;
-struct trap *t_at();
#define newtrap() (struct trap *) alloc(sizeof(struct trap))
/* various kinds of traps */
@@ -28,3 +28,4 @@ struct trap *t_at();
#define MIMIC 8 /* used only in mklev.c */
#define TRAPNUM 9 /* if not less than 32, change sizeof(ttyp) */
/* see also mtrapseen (bit map) */
+#endif /* _DEF_TRAP_H_ */