wchar: Define va_list for POSIX (BZ #30035)
commita363f7075125fa654342c69331e6c075518ec28c
authorAdhemerval Zanella <adhemerval.zanella@linaro.org>
Mon, 23 Jan 2023 16:59:31 +0000 (23 13:59 -0300)
committerAdhemerval Zanella <adhemerval.zanella@linaro.org>
Thu, 25 May 2023 19:43:29 +0000 (25 16:43 -0300)
tree7481277d71f77b9b66d98b1dba56ab406d324a65
parentd2b1af43057c2bde5b180868a67d2b2bc2de95b7
wchar: Define va_list for POSIX (BZ #30035)

This was uncovered by a recent clang change [1].  Different than ISO C,
POSIX states that va_list should be exported by wchar.h [2].

Checked on x86_64-linux-gnu and aarch64-linux-gnu.

[1] https://reviews.llvm.org/D137268
[2] https://pubs.opengroup.org/onlinepubs/9699919799.2018edition/basedefs/wchar.h.html
conform/data/wchar.h-data
wcsmbs/wchar.h