summaryrefslogtreecommitdiffstats
path: root/hangman/setup.c
diff options
context:
space:
mode:
authorlukem <lukem@NetBSD.org>1997-10-11 01:16:26 +0000
committerlukem <lukem@NetBSD.org>1997-10-11 01:16:26 +0000
commita020fc98d8da9cac6990006871414e8654ac5c1d (patch)
tree541f25c2addb96a6859c8a6cb86709830680fa34 /hangman/setup.c
parentb4a56b0ad7d1689e935db1f0f29f6cdfb65961fd (diff)
downloadbsdgames-darwin-a020fc98d8da9cac6990006871414e8654ac5c1d.tar.gz
bsdgames-darwin-a020fc98d8da9cac6990006871414e8654ac5c1d.tar.zst
bsdgames-darwin-a020fc98d8da9cac6990006871414e8654ac5c1d.zip
WARNSify, KNFify
Diffstat (limited to 'hangman/setup.c')
-rw-r--r--hangman/setup.c14
1 files changed, 8 insertions, 6 deletions
diff --git a/hangman/setup.c b/hangman/setup.c
index 73c835f9..0ddb2602 100644
--- a/hangman/setup.c
+++ b/hangman/setup.c
@@ -1,4 +1,4 @@
-/* $NetBSD: setup.c,v 1.3 1995/03/23 08:32:59 cgd Exp $ */
+/* $NetBSD: setup.c,v 1.4 1997/10/11 01:16:42 lukem Exp $ */
/*-
* Copyright (c) 1983, 1993
@@ -33,24 +33,26 @@
* SUCH DAMAGE.
*/
+#include <sys/cdefs.h>
#ifndef lint
#if 0
static char sccsid[] = "@(#)setup.c 8.1 (Berkeley) 5/31/93";
#else
-static char rcsid[] = "$NetBSD: setup.c,v 1.3 1995/03/23 08:32:59 cgd Exp $";
+__RCSID("$NetBSD: setup.c,v 1.4 1997/10/11 01:16:42 lukem Exp $");
#endif
-#endif /* not lint */
+#endif /* not lint */
-# include "hangman.h"
+#include "hangman.h"
/*
* setup:
* Set up the strings on the screen.
*/
+void
setup()
{
- register char **sp;
- static struct stat sbuf;
+ char **sp;
+ static struct stat sbuf;
noecho();
crmode();