From: Sean Christopherson Date: Tue, 13 Dec 2022 00:16:46 +0000 (+0000) Subject: KVM: selftests: Use proper function prototypes in probing code X-Git-Tag: v6.2-rc2~12^2^2~21 X-Git-Url: http://git.osdn.net/view?a=commitdiff_plain;h=5dc38777a7de15109a1d45b42cf2bb7f1bbe6010;p=tomoyo%2Ftomoyo-test1.git 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. :1:5: error: function declaration isn’t a prototype [-Werror=strict-prototypes] Signed-off-by: Sean Christopherson Message-Id: <20221213001653.3852042-8-seanjc@google.com> Reviewed-by: Philippe Mathieu-Daudé Signed-off-by: Paolo Bonzini --- diff --git a/tools/testing/selftests/kvm/Makefile b/tools/testing/selftests/kvm/Makefile index 59f3eb53c932..8eecda2be0d0 100644 --- a/tools/testing/selftests/kvm/Makefile +++ b/tools/testing/selftests/kvm/Makefile @@ -194,11 +194,11 @@ CFLAGS += -Wall -Wstrict-prototypes -Wuninitialized -O2 -g -std=gnu99 \ -I$(