]> git.ipfire.org Git - thirdparty/gnutls.git/commit
tests/cmocka-common.h: include <stdarg.h> before <cmocka.h>
authorDaiki Ueno <ueno@gnu.org>
Sat, 7 May 2022 08:07:01 +0000 (10:07 +0200)
committerDaiki Ueno <ueno@gnu.org>
Sat, 7 May 2022 08:09:53 +0000 (10:09 +0200)
commit45a7aeb38b3f79ecbe98eaa45fcd7e01ec6b7493
tree067e65978cadc3efcf5cab34005a92cd1e0faaf5
parent6a7b3e6f8429a9f96f2fe43bda068e5b168c920c
tests/cmocka-common.h: include <stdarg.h> before <cmocka.h>

As documented in <https://api.cmocka.org/group__cmocka.html#details>,
<stdarg.h> must be included before <cmocka.h>.

Suggested by Brad Smith in:
https://gitlab.com/gnutls/gnutls/-/issues/1360

Signed-off-by: Daiki Ueno <ueno@gnu.org>
tests/cmocka-common.h