diff mbox

[17/18] kvm: qemu: fix update_vbios_real_tpr declaration

Message ID 1232027262-21487-17-git-send-email-markmc@redhat.com (mailing list archive)
State Accepted, archived
Headers show

Commit Message

Mark McLoughlin Jan. 15, 2009, 1:47 p.m. UTC
Fixes:

  qemu/kvm-tpr-opt.c:119: warning: function declaration isn’t a prototype

Signed-off-by: Mark McLoughlin <markmc@redhat.com>
---
 qemu/kvm-tpr-opt.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
diff mbox

Patch

diff --git a/qemu/kvm-tpr-opt.c b/qemu/kvm-tpr-opt.c
index 3aaa8a4..85fbbbc 100644
--- a/qemu/kvm-tpr-opt.c
+++ b/qemu/kvm-tpr-opt.c
@@ -115,7 +115,7 @@  static uint32_t vapic_phys;
 static int bios_enabled;
 static uint32_t vbios_desc_phys;
 
-void update_vbios_real_tpr()
+static void update_vbios_real_tpr(void)
 {
     cpu_physical_memory_rw(vbios_desc_phys, (void *)&vapic_bios, sizeof vapic_bios, 0);
     vapic_bios.real_tpr = real_tpr;