diff --git a/games/bcd/Makefile b/games/bcd/Makefile index 715ede141ac0..2912fe6231dd 100644 --- a/games/bcd/Makefile +++ b/games/bcd/Makefile @@ -3,7 +3,6 @@ PROG= bcd MAN6= bcd.6 MLINKS= bcd.6 morse.6 bcd.6 ppt.6 -HIDEGAME=hidegame .include diff --git a/games/bcd/bcd.c b/games/bcd/bcd.c index cb0b3f9a1ed9..53765daac2a9 100644 --- a/games/bcd/bcd.c +++ b/games/bcd/bcd.c @@ -131,10 +131,6 @@ main(argc, argv) * but this seems kind of silly. So this one doesn't. */ - /* revoke privs */ - setegid(getgid()); - setgid(getgid()); - if (argc > 1) { while (--argc) printcard(*++argv); diff --git a/games/morse/Makefile b/games/morse/Makefile index 444118974071..242d2cdcefd4 100644 --- a/games/morse/Makefile +++ b/games/morse/Makefile @@ -2,7 +2,6 @@ PROG= morse NOMAN= noman -HIDEGAME=hidegame CFLAGS += -DSPEAKER=\"/dev/speaker\" .include diff --git a/games/morse/morse.c b/games/morse/morse.c index a146669cf5c4..a78e29fe313b 100644 --- a/games/morse/morse.c +++ b/games/morse/morse.c @@ -212,10 +212,6 @@ main(int argc, char **argv) register int ch; register char *p; - /* revoke */ - setegid(getgid()); - setgid(getgid()); - while ((ch = getopt(argc, argv, "spw:f:")) != EOF) switch ((char) ch) { case 'f': diff --git a/games/ppt/Makefile b/games/ppt/Makefile index c7e91ed3af69..64e3db0c0ed7 100644 --- a/games/ppt/Makefile +++ b/games/ppt/Makefile @@ -2,7 +2,6 @@ PROG= ppt NOMAN= noman -HIDEGAME=hidegame .include diff --git a/games/ppt/ppt.c b/games/ppt/ppt.c index ab0d154977eb..84fd89a0a3ce 100644 --- a/games/ppt/ppt.c +++ b/games/ppt/ppt.c @@ -52,10 +52,6 @@ main(argc, argv) register int c; register char *p; - /* revoke */ - setegid(getgid()); - setgid(getgid()); - (void) puts("___________"); if (argc > 1) while (p = *++argv)