X-Git-Url: http://erislabs.net/gitweb/?a=blobdiff_plain;ds=sidebyside;f=lib%2Frpmatch.c;h=7759d0ca7e964844604c7396d1497c3fbc03e889;hb=a76a349e949dfad5716eb3893052070b770e949f;hp=fbd62e2aff2142f4e3cb2e1e5b9b5e3bdca1ed75;hpb=0eb34fb50342cddf563c3fbfd36d8a93cc60b218;p=gnulib.git diff --git a/lib/rpmatch.c b/lib/rpmatch.c index fbd62e2af..7759d0ca7 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 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,20 +20,17 @@ # include #endif +#include #if STDC_HEADERS || _LIBC -# include # include -#else -# ifndef NULL -# define NULL 0 -# endif #endif #if ENABLE_NLS # include +# 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,