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.6.7~3413^2~17^2~48 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=5dc38777a7de15109a1d45b42cf2bb7f1bbe6010;p=platform%2Fkernel%2Flinux-starfive.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 59f3eb5..8eecda2 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$(