Message ID | 20090427080736.GA30244@redhat.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
Michael S. Tsirkin wrote: > libkvm-x86.c:55: warning: no previous prototype for ‘kvm_create_pit’ > > Applied, thanks.
diff --git a/kvm/libkvm/libkvm-x86.c b/kvm/libkvm/libkvm-x86.c index 2fc4fce..df8cc81 100644 --- a/kvm/libkvm/libkvm-x86.c +++ b/kvm/libkvm/libkvm-x86.c @@ -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;
libkvm-x86.c:55: warning: no previous prototype for ‘kvm_create_pit’ Signed-off-by: Michael S. Tsirkin <mst@redhat.com> --- kvm/libkvm/libkvm-x86.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)