X-Git-Url: http://sjero.net/git/?a=blobdiff_plain;f=lib%2Fstdlib.h;h=c4240d326604ed6651cc96d7452398a50106910f;hb=d78cd8d8f8e12d1b71ac19795131d6975abe544b;hp=fe09be7946ade6c4e33f70195094eee485a1f3d8;hpb=ae034d236f2c977a9029c0b315eb1ce84a3eaaf6;p=wget 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.