summaryrefslogtreecommitdiffstats
path: root/monop/getinp.c
diff options
context:
space:
mode:
authordholland <dholland@NetBSD.org>2008-02-19 09:45:02 +0000
committerdholland <dholland@NetBSD.org>2008-02-19 09:45:02 +0000
commit360f38c761c19369bd6476bb7558d9b9113c4abf (patch)
tree41888ae80826a7676ef11d7c63db79aca4f2a43d /monop/getinp.c
parente2fc204ddc36cdded5693d299f4f5c8b04c464c0 (diff)
downloadbsdgames-darwin-360f38c761c19369bd6476bb7558d9b9113c4abf.tar.gz
bsdgames-darwin-360f38c761c19369bd6476bb7558d9b9113c4abf.zip
KNF/whitespace nits. No functional changes.
Diffstat (limited to 'monop/getinp.c')
-rw-r--r--monop/getinp.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/monop/getinp.c b/monop/getinp.c
index 2166b9fa..4e1c2881 100644
--- a/monop/getinp.c
+++ b/monop/getinp.c
@@ -1,4 +1,4 @@
-/* $NetBSD: getinp.c,v 1.15 2008/01/28 06:16:13 dholland Exp $ */
+/* $NetBSD: getinp.c,v 1.16 2008/02/19 09:45:02 dholland Exp $ */
/*
* Copyright (c) 1980, 1993
@@ -34,7 +34,7 @@
#if 0
static char sccsid[] = "@(#)getinp.c 8.1 (Berkeley) 5/31/93";
#else
-__RCSID("$NetBSD: getinp.c,v 1.15 2008/01/28 06:16:13 dholland Exp $");
+__RCSID("$NetBSD: getinp.c,v 1.16 2008/02/19 09:45:02 dholland Exp $");
#endif
#endif /* not lint */
@@ -51,7 +51,7 @@ static int comp(const char *);
int
getinp(prompt, lst)
- const char *prompt, *const lst[];
+ const char *prompt, *const lst[];
{
int i, n_match, match = 0;
char *sp;
@@ -59,7 +59,7 @@ getinp(prompt, lst)
for (;;) {
printf("%s", prompt);
- for (sp = buf; (c=getchar()) != '\n'; ) {
+ for (sp = buf; (c = getchar()) != '\n'; ) {
if (c == -1)
return 0;
*sp = c;