diff options
author | Jonathan Gray <jsg@cvs.openbsd.org> | 2004-11-29 08:52:30 +0000 |
---|---|---|
committer | Jonathan Gray <jsg@cvs.openbsd.org> | 2004-11-29 08:52:30 +0000 |
commit | 9f35ef98a75e416220366f7f6ac0f8864d6239fb (patch) | |
tree | a3cc1c29744d5270e4662e30a4a7b7d0158c77ed /games/robots/query.c | |
parent | 0e91e5b94fb68ab00eed960bad30f73eba33c15b (diff) |
ansi. ok deraadt@
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; |