]> git.proxmox.com Git - mirror_qemu.git/commitdiff
qemu-timer: Remove redundant include statements
authorStefan Weil <sw@weilnetz.de>
Fri, 20 Apr 2012 08:27:06 +0000 (10:27 +0200)
committerStefan Weil <sw@weilnetz.de>
Fri, 27 Apr 2012 05:39:39 +0000 (07:39 +0200)
qemu-timer.h includes qemu-common.h which already includes time.h,
sys/time.h, windows.h, unistd.h, fcntl.h, errno.h and signal.h.

Therefore those include statements are redundant and can be removed.

Reviewed-by: Paolo Bonzini <pbonzini@redhat.com>
Signed-off-by: Stefan Weil <sw@weilnetz.de>
qemu-timer.c
qemu-timer.h

index 0b28edad1c712da59ab8dd4e4bcbb5f39b66e548..25d5fdcc289774b5e4d7a95f1f717640b37530ec 100644 (file)
 
 #include "hw/hw.h"
 
-#include <unistd.h>
-#include <fcntl.h>
-#include <time.h>
-#include <errno.h>
-#include <sys/time.h>
-#include <signal.h>
+#include "qemu-timer.h"
+
 #ifdef __FreeBSD__
 #include <sys/param.h>
 #endif
 
 #ifdef _WIN32
-#include <windows.h>
 #include <mmsystem.h>
 #endif
 
-#include "qemu-timer.h"
-
 /***********************************************************/
 /* timers */
 
index 094e730ca27ba7e791ec32a8f05c299692ef0ce0..5a31434f47396ce5c327ea82523c87d2f2750fd5 100644 (file)
@@ -4,12 +4,6 @@
 #include "qemu-common.h"
 #include "main-loop.h"
 #include "notify.h"
-#include <time.h>
-#include <sys/time.h>
-
-#ifdef _WIN32
-#include <windows.h>
-#endif
 
 /* timers */