summaryrefslogtreecommitdiff
path: root/games/hangman/prword.c
diff options
context:
space:
mode:
authorPaul Janzen <pjanzen@cvs.openbsd.org>1998-08-19 07:42:28 +0000
committerPaul Janzen <pjanzen@cvs.openbsd.org>1998-08-19 07:42:28 +0000
commited884b9fa4509c09f0f7ab71efe57a4e83a2e055 (patch)
treeef9d859a0754785b42ea5cacb27aff54b5000315 /games/hangman/prword.c
parentf4fc9566a4d35c0cc2bf8c7f1136287d8eec8c44 (diff)
tags, formatting, ANSI-fication, prototypes, de-typos, and the occasional
initialization, removal of unused variable, or other minor fix. Most changes are from or inspired by NetBSD.
Diffstat (limited to 'games/hangman/prword.c')
-rw-r--r--games/hangman/prword.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/games/hangman/prword.c b/games/hangman/prword.c
index ba2ab634d3b..99ef16f1e7d 100644
--- a/games/hangman/prword.c
+++ b/games/hangman/prword.c
@@ -1,3 +1,4 @@
+/* $OpenBSD: prword.c,v 1.2 1998/08/19 07:40:43 pjanzen Exp $ */
/* $NetBSD: prword.c,v 1.3 1995/03/23 08:32:58 cgd Exp $ */
/*-
@@ -37,16 +38,17 @@
#if 0
static char sccsid[] = "@(#)prword.c 8.1 (Berkeley) 5/31/93";
#else
-static char rcsid[] = "$NetBSD: prword.c,v 1.3 1995/03/23 08:32:58 cgd Exp $";
+static char rcsid[] = "$OpenBSD: prword.c,v 1.2 1998/08/19 07:40:43 pjanzen Exp $";
#endif
#endif /* not lint */
-# include "hangman.h"
+#include "hangman.h"
/*
* prword:
* Print out the current state of the word
*/
+void
prword()
{
move(KNOWNY, KNOWNX + sizeof "Word: ");