summaryrefslogtreecommitdiffstats
path: root/hangman/extern.c
diff options
context:
space:
mode:
Diffstat (limited to 'hangman/extern.c')
-rw-r--r--hangman/extern.c60
1 files changed, 29 insertions, 31 deletions
diff --git a/hangman/extern.c b/hangman/extern.c
index 2d5f0082..59a310fa 100644
--- a/hangman/extern.c
+++ b/hangman/extern.c
@@ -1,4 +1,4 @@
-/* $NetBSD: extern.c,v 1.3 1995/03/23 08:32:41 cgd Exp $ */
+/* $NetBSD: extern.c,v 1.4 1997/10/11 01:16:27 lukem Exp $ */
/*
* Copyright (c) 1983, 1993
@@ -33,48 +33,46 @@
* SUCH DAMAGE.
*/
+#include <sys/cdefs.h>
#ifndef lint
#if 0
static char sccsid[] = "@(#)extern.c 8.1 (Berkeley) 5/31/93";
#else
-static char rcsid[] = "$NetBSD: extern.c,v 1.3 1995/03/23 08:32:41 cgd Exp $";
+__RCSID("$NetBSD: extern.c,v 1.4 1997/10/11 01:16:27 lukem Exp $");
#endif
#endif /* not lint */
-# include "hangman.h"
+#include "hangman.h"
-bool Guessed[26];
+bool Guessed[26];
-char Word[BUFSIZ],
- Known[BUFSIZ],
- *Noose_pict[] = {
- " ______",
- " | |",
- " |",
- " |",
- " |",
- " |",
- " __|_____",
- " | |___",
- " |_________|",
- NULL
- };
+char Word[BUFSIZ], Known[BUFSIZ], *Noose_pict[] = {
+ " ______",
+ " | |",
+ " |",
+ " |",
+ " |",
+ " |",
+ " __|_____",
+ " | |___",
+ " |_________|",
+ NULL
+};
-int Errors,
- Wordnum = 0;
+int Errors, Wordnum = 0;
-double Average = 0.0;
+double Average = 0.0;
-ERR_POS Err_pos[MAXERRS] = {
- { 2, 10, 'O' },
- { 3, 10, '|' },
- { 4, 10, '|' },
- { 5, 9, '/' },
- { 3, 9, '/' },
- { 3, 11, '\\' },
- { 5, 11, '\\' }
+ERR_POS Err_pos[MAXERRS] = {
+ {2, 10, 'O'},
+ {3, 10, '|'},
+ {4, 10, '|'},
+ {5, 9, '/'},
+ {3, 9, '/'},
+ {3, 11, '\\'},
+ {5, 11, '\\'}
};
-FILE *Dict = NULL;
+FILE *Dict = NULL;
-off_t Dict_size;
+off_t Dict_size;