Skip to contentSkip to conversation

qemu-kvm: make kvm_create_pit static

PATCH Applied Michael S. Tsirkin 2 participants 2 messages Apr 27, 2009 – May 4, 2009 KVM

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 qemu-kvm: make kvm_create_pit static

libkvm-x86.c:55: warning: no previous prototype for ‘kvm_create_pit’

---
 kvm/libkvm/libkvm-x86.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
kvm/libkvm/libkvm-x86.c +1 -1
index 2fc4fce..df8cc81 100644
@@ -52,7 +52,7 @@ static int kvm_init_tss(kvm_context_t kvm)
 	return 0;
 }
 
-int kvm_create_pit(kvm_context_t kvm)
+static int kvm_create_pit(kvm_context_t kvm)
 {
 #ifdef KVM_CAP_PIT
 	int r;
Signature · 1 line
1.6.0.6
Applied
#1 lore raw
Quoted 3 lines · Michael S. Tsirkin

libkvm-x86.c:55: warning: no previous prototype for ‘kvm_create_pit’

Applied, thanks.

Signature · 1 line
Do not meddle in the internals of kernels, for they are subtle and quick to panic.