summaryrefslogtreecommitdiff
path: root/games/adventure/hdr.h
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>1996-12-19 22:22:18 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>1996-12-19 22:22:18 +0000
commite666495d5bec1a6aebe384303efe5f31db6aed2b (patch)
tree80acd2a5798eea45c4eaacfe133fe15feed672c1 /games/adventure/hdr.h
parent0333603e546677747279b0dc4cd7292bad1abb7c (diff)
setgid games, not setuid games. closes a neat set of holes
Diffstat (limited to 'games/adventure/hdr.h')
-rw-r--r--games/adventure/hdr.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/games/adventure/hdr.h b/games/adventure/hdr.h
index 9b8a7a5324a..e56a8ee3bec 100644
--- a/games/adventure/hdr.h
+++ b/games/adventure/hdr.h
@@ -54,6 +54,7 @@
*/
/* hdr.h: included by c advent files */
+#include <sys/types.h>
int datfd; /* message file descriptor */
int delhit;
@@ -130,7 +131,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],linkx[201];
int abb[LOCSIZ];
int maxtrs,tally,tally2; /* treasure values */
@@ -163,3 +164,5 @@ 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'+'%')
+
+gid_t egid;