]> Savannah Git Hosting - gnulib.git/commit
vasnwprintf: Fix a warning: implicit declaration of function ‘wcsnlen’.
authorBruno Haible <bruno@clisp.org>
Wed, 22 Mar 2023 20:33:24 +0000 (21:33 +0100)
committerBruno Haible <bruno@clisp.org>
Wed, 22 Mar 2023 20:33:24 +0000 (21:33 +0100)
commit806d6f857009f0920b74405004a8ea42b4adb23d
treedb02d6db305ab238efd44f6076e939dd8b650fa3
parentc4aea2186305767e7a2d0eda1ce856a342dce365
vasnwprintf: Fix a warning: implicit declaration of function ‘wcsnlen’.

* m4/vasnprintf.m4 (gl_PREREQ_VASNWPRINTF): Test also whether wcsnlen is
declared.
* lib/vasnprintf.c (local_wcsnlen): Together with HAVE_WCSNLEN, test
also HAVE_DECL_WCSNLEN.
ChangeLog
lib/vasnprintf.c
m4/vasnprintf.m4