KVM: selftests: Use proper function prototypes in probing code
authorSean Christopherson <seanjc@google.com>
Tue, 13 Dec 2022 00:16:46 +0000 (00:16 +0000)
committerPaolo Bonzini <pbonzini@redhat.com>
Tue, 27 Dec 2022 11:00:47 +0000 (06:00 -0500)
commit5dc38777a7de15109a1d45b42cf2bb7f1bbe6010
tree56a777072efb2b4e50593212cbab285188433af2
parent6a5db83adfd668b3c1092274ddf45903eb1fe435
KVM: selftests: Use proper function prototypes in probing code

Make the main() functions in the probing code proper prototypes so that
compiling the probing code with more strict flags won't generate false
negatives.

  <stdin>:1:5: error: function declaration isn’t a prototype [-Werror=strict-prototypes]

Signed-off-by: Sean Christopherson <seanjc@google.com>
Message-Id: <20221213001653.3852042-8-seanjc@google.com>
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
tools/testing/selftests/kvm/Makefile