summaryrefslogtreecommitdiff
path: root/lib/string.in.h
diff options
context:
space:
mode:
authorBruno Haible <bruno@clisp.org>2011-04-16 12:10:16 +0200
committerBruno Haible <bruno@clisp.org>2011-04-16 12:10:16 +0200
commitd8fb6162b94aa556e0e150cc27d797d688a9e767 (patch)
tree9966f8eea6e8084a9cbbeb2c4650306dd00ba8b1 /lib/string.in.h
parent2aa729ac6af316bc30111144684a51c4650d5c44 (diff)
downloadgnulib-d8fb6162b94aa556e0e150cc27d797d688a9e767.tar.gz
strchrnul: Tweak last commit.
* doc/glibc-functions/strchrnul.texi: Add more details about Cygwin bug. * lib/string.in.h (strchrnul): Use same arguments in _GL_FUNCDECL_RPL as in _GL_FUNCDECL_SYS. * m4/strchrnul.m4 (gl_FUNC_STRCHRNUL): Invoke gl_PREREQ_STRCHRNUL after AC_LIBOBJ. When cross-compiling, say "guessing yes" not "yes".
Diffstat (limited to 'lib/string.in.h')
-rw-r--r--lib/string.in.h7
1 files changed, 3 insertions, 4 deletions
diff --git a/lib/string.in.h b/lib/string.in.h
index 7f156aa453..f120a1b094 100644
--- a/lib/string.in.h
+++ b/lib/string.in.h
@@ -281,10 +281,9 @@ _GL_WARN_ON_USE (strchr, "strchr cannot work correctly on character strings "
# if !(defined __cplusplus && defined GNULIB_NAMESPACE)
# define strchrnul rpl_strchrnul
# endif
-_GL_FUNCDECL_RPL (strchrnul, char *,
- (const char *str, int ch)
- _GL_ATTRIBUTE_PURE
- _GL_ARG_NONNULL ((1)));
+_GL_FUNCDECL_RPL (strchrnul, char *, (const char *__s, int __c_in)
+ _GL_ATTRIBUTE_PURE
+ _GL_ARG_NONNULL ((1)));
_GL_CXXALIAS_RPL (strchrnul, char *,
(const char *str, int ch));
# else