X-Git-Url: http://sjero.net/git/?p=wget;a=blobdiff_plain;f=lib%2Fstdlib.h;fp=lib%2Fstdlib.h;h=c4240d326604ed6651cc96d7452398a50106910f;hp=fe09be7946ade6c4e33f70195094eee485a1f3d8;hb=c27af259f071003401ee0871f9ea7020632a1961;hpb=051528cb8535c53248613bdf82976b345af7532d diff --git a/lib/stdlib.h b/lib/stdlib.h index fe09be79..c4240d32 100644 --- a/lib/stdlib.h +++ b/lib/stdlib.h @@ -205,6 +205,21 @@ extern int putenv (char *string); #endif +#if 0 +# if !1 +/* Test a user response to a question. + Return 1 if it is affirmative, 0 if it is negative, or -1 if not clear. */ +extern int rpmatch (const char *response); +# endif +#elif defined GNULIB_POSIXCHECK +# undef rpmatch +# define rpmatch(r) \ + (GL_LINK_WARNING ("rpmatch is unportable - " \ + "use gnulib module rpmatch for portability"), \ + rpmatch (r)) +#endif + + #if 0 # if !1 /* Set NAME to VALUE in the environment.