[kvm-unit-tests PATCH] x86: kvmclock: Fix a non-prototype function declaration

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Avoid a -Wstrict-prototypes clang warning.

Signed-off-by: Jim Mattson <jmattson@xxxxxxxxxx>
---
 x86/kvmclock.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/x86/kvmclock.c b/x86/kvmclock.c
index f190048c9bde..f9f21032fea9 100644
--- a/x86/kvmclock.c
+++ b/x86/kvmclock.c
@@ -222,7 +222,7 @@ static cycle_t pvclock_clocksource_read(struct pvclock_vcpu_time_info *src)
 	return ret;
 }
 
-cycle_t kvm_clock_read()
+cycle_t kvm_clock_read(void)
 {
         struct pvclock_vcpu_time_info *src;
         cycle_t ret;
-- 
2.37.1.359.gd136c6c3e2-goog




[Index of Archives]     [KVM ARM]     [KVM ia64]     [KVM ppc]     [Virtualization Tools]     [Spice Development]     [Libvirt]     [Libvirt Users]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite Questions]     [Linux Kernel]     [Linux SCSI]     [XFree86]

  Powered by Linux