diff mbox

[12/18] kvm: qemu: kill redundant declarion of perror()

Message ID 1232027262-21487-12-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
stdio.h is included by qemu-common.h

Fixes:

  qemu/qemu-kvm.c:37: warning: redundant redeclaration of ‘perror’
  /usr/include/stdio.h:817: warning: previous declaration of ‘perror’ was here

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

Patch

diff --git a/qemu/qemu-kvm.c b/qemu/qemu-kvm.c
index f4c92fb..e54ace7 100644
--- a/qemu/qemu-kvm.c
+++ b/qemu/qemu-kvm.c
@@ -28,8 +28,6 @@ 
 #define false 0
 #define true 1
 
-extern void perror(const char *s);
-
 int kvm_allowed = 1;
 int kvm_irqchip = 1;
 int kvm_pit = 1;