summaryrefslogtreecommitdiff
path: root/games/atc/extern.c
diff options
context:
space:
mode:
authorPaul Janzen <pjanzen@cvs.openbsd.org>1998-09-21 07:36:18 +0000
committerPaul Janzen <pjanzen@cvs.openbsd.org>1998-09-21 07:36:18 +0000
commitb035152d559c05bd0c273db0c645e9a76ab61122 (patch)
treed379cb7e6e1226ead0bc17a5b80aa99b7b3b0094 /games/atc/extern.c
parent8745530dedffa86a4a34dffb91fd3cf2e7e244df (diff)
Cleanup, partially from NetBSD and jsm28@cam.ac.uk. No longer segfaults if
scorefile can't be opened. New -q quiet option. Partial man page reformat.
Diffstat (limited to 'games/atc/extern.c')
-rw-r--r--games/atc/extern.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/games/atc/extern.c b/games/atc/extern.c
index 1f3d89802eb..5f5adb4e5b9 100644
--- a/games/atc/extern.c
+++ b/games/atc/extern.c
@@ -1,3 +1,4 @@
+/* $OpenBSD: extern.c,v 1.2 1998/09/21 07:36:05 pjanzen Exp $ */
/* $NetBSD: extern.c,v 1.4 1995/04/27 21:22:19 mycroft Exp $ */
/*-
@@ -49,7 +50,7 @@
#if 0
static char sccsid[] = "@(#)extern.c 8.1 (Berkeley) 5/31/93";
#else
-static char rcsid[] = "$NetBSD: extern.c,v 1.4 1995/04/27 21:22:19 mycroft Exp $";
+static char rcsid[] = "$OpenBSD: extern.c,v 1.2 1998/09/21 07:36:05 pjanzen Exp $";
#endif
#endif /* not lint */
@@ -57,9 +58,9 @@ static char rcsid[] = "$NetBSD: extern.c,v 1.4 1995/04/27 21:22:19 mycroft Exp $
char GAMES[] = "Game_List";
-int clck, safe_planes, start_time, test_mode;
+int clck, safe_planes, start_time, test_mode, makenoise;
-char *file;
+const char *file;
FILE *filein, *fileout;