* lib/error.c (strerror_r): Declare also when its return type is 'int'.
+2011-06-05 Bruno Haible <bruno@clisp.org>
+
+ error: Avoid gcc warning.
+ * lib/error.c (strerror_r): Declare also when its return type is 'int'.
+
2011-06-05 Bruno Haible <bruno@clisp.org>
unsetenv: Avoid gcc warning.
/* The gnulib override of fcntl is not needed in this file. */
# undef fcntl
-# if !HAVE_DECL_STRERROR_R && STRERROR_R_CHAR_P
+# if !HAVE_DECL_STRERROR_R
# ifndef HAVE_DECL_STRERROR_R
"this configure-time declaration test was not run"
# endif
+# if STRERROR_R_CHAR_P
char *strerror_r ();
+# else
+int strerror_r ();
+# endif
# endif
/* The calling program should define program_name and set it to the