From ce061e17a9dda9852d7bfd583c089bbd8dac1333 Mon Sep 17 00:00:00 2001 From: dholland Date: Mon, 20 Jul 2009 05:44:02 +0000 Subject: ANSIfy. Use __dead. Object diffs checked. --- robots/query.c | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) (limited to 'robots/query.c') diff --git a/robots/query.c b/robots/query.c index 739ed1f8..f3d885de 100644 --- a/robots/query.c +++ b/robots/query.c @@ -1,4 +1,4 @@ -/* $NetBSD: query.c,v 1.6 2003/08/07 09:37:37 agc Exp $ */ +/* $NetBSD: query.c,v 1.7 2009/07/20 05:44:02 dholland Exp $ */ /* * Copyright (c) 1980, 1993 @@ -34,7 +34,7 @@ #if 0 static char sccsid[] = "@(#)query.c 8.1 (Berkeley) 5/31/93"; #else -__RCSID("$NetBSD: query.c,v 1.6 2003/08/07 09:37:37 agc Exp $"); +__RCSID("$NetBSD: query.c,v 1.7 2009/07/20 05:44:02 dholland Exp $"); #endif #endif /* not lint */ @@ -45,8 +45,7 @@ __RCSID("$NetBSD: query.c,v 1.6 2003/08/07 09:37:37 agc Exp $"); * Ask a question and get a yes or no answer. Default is "no". */ int -query(prompt) - const char *prompt; +query(const char *prompt) { int c, retval; int y, x; -- cgit v1.2.3