summaryrefslogtreecommitdiffstats
path: root/hangman/hangman.h
diff options
context:
space:
mode:
authorjsm <jsm@NetBSD.org>1999-09-17 20:45:48 +0000
committerjsm <jsm@NetBSD.org>1999-09-17 20:45:48 +0000
commit77f0652e937d91406765636e43f56c09a46f2f80 (patch)
treec69919778511f58c286dedb3ffbc43ec828f3dac /hangman/hangman.h
parent1f4431b09beb5f94c47e37d8d209a0c9cc0479f9 (diff)
downloadbsdgames-darwin-77f0652e937d91406765636e43f56c09a46f2f80.tar.gz
bsdgames-darwin-77f0652e937d91406765636e43f56c09a46f2f80.tar.zst
bsdgames-darwin-77f0652e937d91406765636e43f56c09a46f2f80.zip
Make word list for hangman selectable at run time.
Diffstat (limited to 'hangman/hangman.h')
-rw-r--r--hangman/hangman.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/hangman/hangman.h b/hangman/hangman.h
index 6ab760bf..3ed05db8 100644
--- a/hangman/hangman.h
+++ b/hangman/hangman.h
@@ -1,4 +1,4 @@
-/* $NetBSD: hangman.h,v 1.9 1999/09/08 21:45:28 jsm Exp $ */
+/* $NetBSD: hangman.h,v 1.10 1999/09/17 20:45:49 jsm Exp $ */
/*
* Copyright (c) 1983, 1993
@@ -78,13 +78,15 @@ extern double Average;
extern const ERR_POS Err_pos[];
+extern const char *Dict_name;
+
extern FILE *Dict;
extern off_t Dict_size;
void die __P((int)) __attribute__((__noreturn__));
void endgame __P((void));
-int main __P((void));
+int main __P((int, char *[]));
void getguess __P((void));
void getword __P((void));
void playgame __P((void));