summaryrefslogtreecommitdiffstats
path: root/games/snake/snake.c
diff options
context:
space:
mode:
Diffstat (limited to 'games/snake/snake.c')
-rw-r--r--games/snake/snake.c13
1 files changed, 1 insertions, 12 deletions
diff --git a/games/snake/snake.c b/games/snake/snake.c
index 69d44e077bf..8d13ec9f623 100644
--- a/games/snake/snake.c
+++ b/games/snake/snake.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: snake.c,v 1.13 2009/10/27 23:59:27 deraadt Exp $ */
+/* $OpenBSD: snake.c,v 1.14 2009/11/13 21:50:12 deraadt Exp $ */
/* $NetBSD: snake.c,v 1.8 1995/04/29 00:06:41 mycroft Exp $ */
/*
@@ -134,7 +134,6 @@ int
main(int argc, char *argv[])
{
int ch, i;
- char *p, **av;
struct sigaction sa;
gid_t gid;
@@ -148,16 +147,6 @@ main(int argc, char *argv[])
gid = getgid();
setresgid(gid, gid, gid);
- /* check to see if we were called as snscore */
- av = argv;
- p = strrchr(*av, '/');
- if (p++ == NULL)
- p = *av;
- if (strcmp(p,"snscore") == 0) {
- snscore(rawscores, 0);
- exit(0);
- }
-
while ((ch = getopt(argc, argv, "hl:stw:")) != -1)
switch ((char)ch) {
case 'w': /* width */