diff options
| author | christos <christos@NetBSD.org> | 1997-08-11 14:06:10 +0000 |
|---|---|---|
| committer | christos <christos@NetBSD.org> | 1997-08-11 14:06:10 +0000 |
| commit | 278fa94d7dbb78924090308546ee84599c8d5f1d (patch) | |
| tree | 476fd614bc23ad643e88f4e02ecf6963da49ec89 /adventure/hdr.h | |
| parent | 58c57d3e52a500443c40b548d5652e2f0a708d43 (diff) | |
| download | bsdgames-darwin-278fa94d7dbb78924090308546ee84599c8d5f1d.tar.gz bsdgames-darwin-278fa94d7dbb78924090308546ee84599c8d5f1d.zip | |
PR/3964: Eric Fischer: Remove dependencies to traditional cpp...
While I was there add WARNS?= too.
Diffstat (limited to 'adventure/hdr.h')
| -rw-r--r-- | adventure/hdr.h | 13 |
1 files changed, 4 insertions, 9 deletions
diff --git a/adventure/hdr.h b/adventure/hdr.h index 6e1440b8..dad807e2 100644 --- a/adventure/hdr.h +++ b/adventure/hdr.h @@ -1,4 +1,4 @@ -/* $NetBSD: hdr.h,v 1.2 1995/03/21 12:05:02 cgd Exp $ */ +/* $NetBSD: hdr.h,v 1.3 1997/08/11 14:06:14 christos Exp $ */ /*- * Copyright (c) 1991, 1993 @@ -86,7 +86,7 @@ struct hashtab /* hash table for vocabulary */ struct text #ifdef OLDSTUFF { int seekadr; /* DATFILE must be < 2**16 */ -#endif OLDSTUFF +#endif /* OLDSTUFF */ { char *seekadr; /* Msg start in virtual disk */ int txtlen; /* length of msg starting here */ }; @@ -130,7 +130,7 @@ int hntmax; int hints[20][5]; /* info on hints */ int hinted[20],hintlc[20]; -int place[101], prop[101],link[201]; +int place[101], prop[101],links[201]; int abb[LOCSIZ]; int maxtrs,tally,tally2; /* treasure values */ @@ -158,9 +158,4 @@ int turns,lmwarn,iwest,knfloc,detail, /* various flags & counters */ int demo,newloc,limit; -char *malloc(); -char *decr(); -unsigned long crc(); - -/* We need to get a little tricky to avoid strings */ -#define DECR(a,b,c,d,e) decr('a'+'+','b'+'-','c'+'#','d'+'&','e'+'%') +#define DECR(a,b,c,d,e) decr(a+'+',b+'-',c+'#',d+'&',e+'%') |
