From 01dfd1752e938c6fca54e791eb2adc1de29189f5 Mon Sep 17 00:00:00 2001 From: Bruno Haible Date: Tue, 29 Apr 2008 03:00:57 +0200 Subject: [PATCH] Expect rpmatch to be declared. --- ChangeLog | 3 +++ lib/yesno.c | 5 +---- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/ChangeLog b/ChangeLog index 6ff3a3a69d..4c9e4a1208 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,8 @@ 2008-04-28 Bruno Haible + Expect rpmatch to be declared. + * lib/yesno.c (rpmatch): Remove declaration. + Declare rpmatch. * lib/stdlib.in.h (rpmatch): New declaration. * lib/rpmatch.c: Include first. diff --git a/lib/yesno.c b/lib/yesno.c index 05bf80e852..139ab93114 100644 --- a/lib/yesno.c +++ b/lib/yesno.c @@ -1,7 +1,6 @@ /* yesno.c -- read a yes/no response from stdin - Copyright (C) 1990, 1998, 2001, 2003, 2004, 2005, 2006, 2007 Free - Software Foundation, Inc. + Copyright (C) 1990, 1998, 2001, 2003-2008 Free Software Foundation, Inc. This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -23,8 +22,6 @@ #include #include -extern int rpmatch (char const *response); - /* Return true if we read an affirmative line from standard input. Since this function uses stdin, it is suggested that the caller not -- 2.30.2