diff options
Diffstat (limited to 'games/robots/query.c')
-rw-r--r-- | games/robots/query.c | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/games/robots/query.c b/games/robots/query.c index af509a2d1e0..498a8b7f5fb 100644 --- a/games/robots/query.c +++ b/games/robots/query.c @@ -1,4 +1,4 @@ -/* $OpenBSD: query.c,v 1.4 2003/06/03 03:01:41 millert Exp $ */ +/* $OpenBSD: query.c,v 1.5 2004/11/29 08:52:29 jsg Exp $ */ /* $NetBSD: query.c,v 1.3 1995/04/22 10:09:05 cgd Exp $ */ /* @@ -34,7 +34,7 @@ #if 0 static char sccsid[] = "@(#)query.c 8.1 (Berkeley) 5/31/93"; #else -static char rcsid[] = "$OpenBSD: query.c,v 1.4 2003/06/03 03:01:41 millert Exp $"; +static char rcsid[] = "$OpenBSD: query.c,v 1.5 2004/11/29 08:52:29 jsg Exp $"; #endif #endif /* not lint */ @@ -45,8 +45,7 @@ static char rcsid[] = "$OpenBSD: query.c,v 1.4 2003/06/03 03:01:41 millert Exp $ * Ask a question and get a yes or no answer. Default is "no". */ int -query(prompt) - char *prompt; +query(char *prompt) { int c, retval; int y, x; |