summaryrefslogtreecommitdiffstats
path: root/larn/header.h
diff options
context:
space:
mode:
authordholland <dholland@NetBSD.org>2008-02-03 03:45:55 +0000
committerdholland <dholland@NetBSD.org>2008-02-03 03:45:55 +0000
commitba1922e360028e00b0ecadd02bb51f723c22ce67 (patch)
treed373eca787b41d130b7054cd8af3bb08faf5aeb2 /larn/header.h
parent889e3f85515ffa0f8441d9e7de28c22569d2eabe (diff)
downloadbsdgames-darwin-ba1922e360028e00b0ecadd02bb51f723c22ce67.tar.gz
bsdgames-darwin-ba1922e360028e00b0ecadd02bb51f723c22ce67.tar.zst
bsdgames-darwin-ba1922e360028e00b0ecadd02bb51f723c22ce67.zip
Since games are (now) setgid, not setuid, it is no longer necessary to
manipulate the effective uid, only the effective gid.
Diffstat (limited to 'larn/header.h')
-rw-r--r--larn/header.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/larn/header.h b/larn/header.h
index d8025583..1a81f434 100644
--- a/larn/header.h
+++ b/larn/header.h
@@ -1,4 +1,4 @@
-/* $NetBSD: header.h,v 1.17 2008/01/28 05:38:53 dholland Exp $ */
+/* $NetBSD: header.h,v 1.18 2008/02/03 03:45:55 dholland Exp $ */
/* header.h Larn is copyrighted 1986 by Noah Morgan. */
@@ -363,7 +363,7 @@ extern short iarg[MAXX][MAXY], ivenarg[], lasthx, lasthy, lastnum, lastpx,
extern short nobeep, oldx, oldy, playerx, playery, level;
extern int dayplay, enable_scroll, srcount, yrepcount, userid, wisid,
io_outfd, io_infd;
-extern uid_t uid, euid;
+extern gid_t gid, egid;
extern long outstanding_taxes, skill[], gltime, c[], cbak[];
extern time_t initialtime;
extern unsigned long randx;