]> sjero.net Git - wget/commitdiff
Missed an updated file: lib/stdlib.h
authorMicah Cowan <micah@cowan.name>
Fri, 16 May 2008 04:14:58 +0000 (21:14 -0700)
committerMicah Cowan <micah@cowan.name>
Fri, 16 May 2008 04:14:58 +0000 (21:14 -0700)
lib/stdlib.h

index fe09be7946ade6c4e33f70195094eee485a1f3d8..c4240d326604ed6651cc96d7452398a50106910f 100644 (file)
@@ -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.