diff options
author | Paolo Bonzini <pbonzini@redhat.com> | 2022-11-03 18:19:18 +0100 |
---|---|---|
committer | Paolo Bonzini <pbonzini@redhat.com> | 2022-11-06 09:48:42 +0100 |
commit | b5d3dac17077c4c7d9a90b4c76123ea80ac037da (patch) | |
tree | 854ef722372ecdf773827e9df2b0a6735670e45f /util/oslib-posix.c | |
parent | 8a0afbb2a4f7da5e6a542787ea90eb240e7ac65d (diff) | |
download | qemu-b5d3dac17077c4c7d9a90b4c76123ea80ac037da.zip qemu-b5d3dac17077c4c7d9a90b4c76123ea80ac037da.tar.gz qemu-b5d3dac17077c4c7d9a90b4c76123ea80ac037da.tar.bz2 |
meson: avoid unused arguments of main() in compiler tests
meson.build has one test where "main" is declared unnecessarily
with argc and argv arguments, but does not use them. Because
the test needs -Werror too, HAVE_BROKEN_SIZE_MAX is defined
incorrectly.
Fix the test and, for consistency, remove argc and argv whenever
they are not needed.
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'util/oslib-posix.c')
0 files changed, 0 insertions, 0 deletions