summaryrefslogtreecommitdiffstats
path: root/hack/def.edog.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.edog.h
parentf73f1009084e75624e3bc00fef9cf4749de80dcc (diff)
downloadbsdgames-darwin-84e7d0704483ce39bbdeacd5e676168db6fa664f.tar.gz
bsdgames-darwin-84e7d0704483ce39bbdeacd5e676168db6fa664f.tar.zst
bsdgames-darwin-84e7d0704483ce39bbdeacd5e676168db6fa664f.zip
WARNsify...
Diffstat (limited to 'hack/def.edog.h')
-rw-r--r--hack/def.edog.h8
1 files changed, 6 insertions, 2 deletions
diff --git a/hack/def.edog.h b/hack/def.edog.h
index 00fa911f..1dfb24bb 100644
--- a/hack/def.edog.h
+++ b/hack/def.edog.h
@@ -1,9 +1,11 @@
+/* $NetBSD: def.edog.h,v 1.4 1997/10/19 16:56:51 christos Exp $ */
+
/*
* Copyright (c) Stichting Mathematisch Centrum, Amsterdam, 1985.
- *
- * $NetBSD: def.edog.h,v 1.3 1995/03/23 08:29:18 cgd Exp $
*/
+#ifndef _DEF_EDOG_H_
+#define _DEF_EDOG_H_
struct edog {
long hungrytime; /* at this time dog gets hungry */
long eattime; /* dog is eating */
@@ -13,3 +15,5 @@ struct edog {
long whistletime; /* last time he whistled */
};
#define EDOG(mp) ((struct edog *)(&(mp->mextra[0])))
+
+#endif /* _DEF_EDOG_H_ */