summaryrefslogtreecommitdiff
path: root/games/hangman/extern.c
diff options
context:
space:
mode:
Diffstat (limited to 'games/hangman/extern.c')
-rw-r--r--games/hangman/extern.c25
1 files changed, 12 insertions, 13 deletions
diff --git a/games/hangman/extern.c b/games/hangman/extern.c
index 2d5f0082873..3ee9eae6a0c 100644
--- a/games/hangman/extern.c
+++ b/games/hangman/extern.c
@@ -1,3 +1,4 @@
+/* $OpenBSD: extern.c,v 1.2 1998/08/19 07:40:31 pjanzen Exp $ */
/* $NetBSD: extern.c,v 1.3 1995/03/23 08:32:41 cgd Exp $ */
/*
@@ -37,16 +38,15 @@
#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 $";
+static char rcsid[] = "$OpenBSD: extern.c,v 1.2 1998/08/19 07:40:31 pjanzen Exp $";
#endif
#endif /* not lint */
-# include "hangman.h"
+#include "hangman.h"
bool Guessed[26];
-char Word[BUFSIZ],
- Known[BUFSIZ],
+char Word[BUFSIZ], Known[BUFSIZ],
*Noose_pict[] = {
" ______",
" | |",
@@ -60,19 +60,18 @@ char Word[BUFSIZ],
NULL
};
-int Errors,
- Wordnum = 0;
+int Errors, Wordnum = 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, '\\' }
+ { 2, 10, 'O' },
+ { 3, 10, '|' },
+ { 4, 10, '|' },
+ { 5, 9, '/' },
+ { 3, 9, '/' },
+ { 3, 11, '\\'},
+ { 5, 11, '\\'}
};
FILE *Dict = NULL;