From 278fa94d7dbb78924090308546ee84599c8d5f1d Mon Sep 17 00:00:00 2001 From: christos Date: Mon, 11 Aug 1997 14:06:10 +0000 Subject: PR/3964: Eric Fischer: Remove dependencies to traditional cpp... While I was there add WARNS?= too. --- adventure/hdr.h | 13 ++++--------- 1 file changed, 4 insertions(+), 9 deletions(-) (limited to 'adventure/hdr.h') 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+'%') -- cgit v1.2.3