* Added -m option to hangman to set MINLEN. Closes: #129998

git-svn-id: file:///srv/svn/joey/bsdgames-trunk@5180 a4a2c43b-8ac3-0310-8836-e0e880c912e2
This commit is contained in:
joey
2002-01-20 00:26:56 +00:00
parent 0a887df528
commit 259231e07c
6 changed files with 60 additions and 14 deletions

View File

@@ -1,4 +1,4 @@
/* $NetBSD: extern.c,v 1.4 1997/10/11 01:16:27 lukem Exp $ */
/* $NetBSD: extern.c,v 1.6 1999/09/17 20:45:48 jsm Exp $ */
/*
* Copyright (c) 1983, 1993
@@ -38,7 +38,7 @@
#if 0
static char sccsid[] = "@(#)extern.c 8.1 (Berkeley) 5/31/93";
#else
__RCSID("$NetBSD: extern.c,v 1.4 1997/10/11 01:16:27 lukem Exp $");
__RCSID("$NetBSD: extern.c,v 1.6 1999/09/17 20:45:48 jsm Exp $");
#endif
#endif /* not lint */
@@ -61,6 +61,7 @@ const char *const Noose_pict[] = {
};
int Errors, Wordnum = 0;
unsigned int Minlen = MINLEN;
double Average = 0.0;
@@ -74,6 +75,8 @@ const ERR_POS Err_pos[MAXERRS] = {
{5, 11, '\\'}
};
const char *Dict_name = _PATH_DICT;
FILE *Dict = NULL;
off_t Dict_size;