summaryrefslogtreecommitdiffstats
path: root/sail
diff options
context:
space:
mode:
authorjwise <jwise@NetBSD.org>2001-01-04 01:56:27 +0000
committerjwise <jwise@NetBSD.org>2001-01-04 01:56:27 +0000
commite3d903728b566a12e09bf75b912da49e60b2643b (patch)
tree6f9605228d11138fdf0573e9180ad7123abf0e3c /sail
parentd7be70527bfff340ccf3fef43add3188d54d7eae (diff)
downloadbsdgames-darwin-e3d903728b566a12e09bf75b912da49e60b2643b.tar.gz
bsdgames-darwin-e3d903728b566a12e09bf75b912da49e60b2643b.zip
G/C undocumented and unimplemented `-D' (debug) option.
Diffstat (limited to 'sail')
-rw-r--r--sail/extern.h3
-rw-r--r--sail/globals.c5
-rw-r--r--sail/main.c9
3 files changed, 6 insertions, 11 deletions
diff --git a/sail/extern.h b/sail/extern.h
index 1b9be7db..149d5007 100644
--- a/sail/extern.h
+++ b/sail/extern.h
@@ -1,4 +1,4 @@
-/* $NetBSD: extern.h,v 1.19 2001/01/04 01:53:24 jwise Exp $ */
+/* $NetBSD: extern.h,v 1.20 2001/01/04 01:56:27 jwise Exp $ */
/*
* Copyright (c) 1983, 1993
@@ -51,7 +51,6 @@ extern jmp_buf restart;
#define MODE_LOGGER 3
/* command line flags */
-extern char debug; /* -D */
extern char randomize; /* -x, give first available ship */
extern char longfmt; /* -l, print score in long format */
extern char nobells; /* -b, don't ring bell before Signal */
diff --git a/sail/globals.c b/sail/globals.c
index 45ce7078..26ee3026 100644
--- a/sail/globals.c
+++ b/sail/globals.c
@@ -1,4 +1,4 @@
-/* $NetBSD: globals.c,v 1.9 2000/02/09 22:27:56 jsm Exp $ */
+/* $NetBSD: globals.c,v 1.10 2001/01/04 01:56:28 jwise Exp $ */
/*
* Copyright (c) 1983, 1993
@@ -38,7 +38,7 @@
#if 0
static char sccsid[] = "@(#)globals.c 8.2 (Berkeley) 4/28/95";
#else
-__RCSID("$NetBSD: globals.c,v 1.9 2000/02/09 22:27:56 jsm Exp $");
+__RCSID("$NetBSD: globals.c,v 1.10 2001/01/04 01:56:28 jwise Exp $");
#endif
#endif /* not lint */
@@ -548,7 +548,6 @@ const char dc[] = { 0, 0, -1, -1, -1, 0, 1, 1, 1 };
int mode;
jmp_buf restart;
-char debug; /* -D */
char randomize; /* -x, give first available ship */
char longfmt; /* -l, print score in long format */
char nobells; /* -b, don't ring bell before Signal */
diff --git a/sail/main.c b/sail/main.c
index db2d36f6..3dd7e4c5 100644
--- a/sail/main.c
+++ b/sail/main.c
@@ -1,4 +1,4 @@
-/* $NetBSD: main.c,v 1.16 2001/01/01 22:33:01 jwise Exp $ */
+/* $NetBSD: main.c,v 1.17 2001/01/04 01:56:28 jwise Exp $ */
/*
* Copyright (c) 1983, 1993
@@ -43,7 +43,7 @@ __COPYRIGHT("@(#) Copyright (c) 1983, 1993\n\
#if 0
static char sccsid[] = "@(#)main.c 8.2 (Berkeley) 4/28/95";
#else
-__RCSID("$NetBSD: main.c,v 1.16 2001/01/01 22:33:01 jwise Exp $");
+__RCSID("$NetBSD: main.c,v 1.17 2001/01/04 01:56:28 jwise Exp $");
#endif
#endif /* not lint */
@@ -83,7 +83,7 @@ main(int argc, char **argv)
else
mode = MODE_PLAYER;
- while ((a = getopt(argc, argv, "dsDxlb")) != -1)
+ while ((a = getopt(argc, argv, "dsxlb")) != -1)
switch (a) {
case 'd':
mode = MODE_DRIVER;
@@ -91,9 +91,6 @@ main(int argc, char **argv)
case 's':
mode = MODE_LOGGER;
break;
- case 'D':
- debug++;
- break;
case 'x':
randomize++;
break;