X-Git-Url: http://erislabs.net/gitweb/?a=blobdiff_plain;f=lib%2Frpmatch.c;h=7ed4ded90296eb4baa32b295cad0c00456ff4e83;hb=fdae5d9f72a0596fc7b5933509a9cd03cbebf6eb;hp=0988f07d04445404b33b340fd57e577679406deb;hpb=c2f78d65241d3711416d2e79d1018dd7aa1bb385;p=gnulib.git diff --git a/lib/rpmatch.c b/lib/rpmatch.c index 0988f07d0..7ed4ded90 100644 --- a/lib/rpmatch.c +++ b/lib/rpmatch.c @@ -1,6 +1,6 @@ /* Determine whether string value is affirmation or negative response according to current locale's data. - Copyright (C) 1996, 1998, 2000 Free Software Foundation, Inc. + Copyright (C) 1996, 1998, 2000, 2002, 2003 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 @@ -20,23 +20,15 @@ # include #endif -#if STDC_HEADERS || _LIBC -# include -# include -#else -# ifndef NULL -# define NULL 0 -# endif -#endif +#include +#include #if ENABLE_NLS # include -# if HAVE_LIMITS_H -# include -# endif +# include # include -# include -# define _(Text) gettext (Text) +# include "gettext.h" +# define _(msgid) gettext (msgid) static int try (const char *response, const char *pattern, const int match,