]> git.proxmox.com Git - mirror_qemu.git/commitdiff
slirp: Clean up osdep.h related header inclusions
authorThomas Huth <thuth@redhat.com>
Fri, 13 May 2016 07:04:32 +0000 (09:04 +0200)
committerSamuel Thibault <samuel.thibault@ens-lyon.org>
Mon, 16 May 2016 19:01:16 +0000 (21:01 +0200)
qemu/osdep.h is included in some headers twice - one time
should be sufficient.
Also remove the inclusion of time.h since that is already
done by osdep.h, too (this makes scripts/clean-includes
happy again).

Signed-off-by: Thomas Huth <thuth@redhat.com>
Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Signed-off-by: Samuel Thibault <samuel.thibault@ens-lyon.org>
slirp/ip6_icmp.c
slirp/ip_input.c
slirp/udp6.c

index 09571bcd6b7946a8d5d682fdfe0ed3f1bd773888..48016a9f85907a73a9d7e84622d31ffb16b0f936 100644 (file)
@@ -9,7 +9,6 @@
 #include "qemu/timer.h"
 #include "qemu/error-report.h"
 #include "qemu/log.h"
-#include <time.h>
 
 #define NDP_Interval g_rand_int_range(slirp->grand, \
         NDP_MinRtrAdvInterval, NDP_MaxRtrAdvInterval)
index cdd54833a342e4146d6caa10f141451a2f2f4ec2..34fba2b7ddf14a548ef1083c9997a261355721e6 100644 (file)
@@ -40,7 +40,6 @@
 
 #include "qemu/osdep.h"
 #include <slirp.h>
-#include <qemu/osdep.h>
 #include "ip_icmp.h"
 
 static struct ip *ip_reass(Slirp *slirp, struct ip *ip, struct ipq *fp);
index a23026f2e4d6b4182937b660506316b7a964935e..94efb132403c4b9eeec9d9a8f2408f90e642d670 100644 (file)
@@ -6,7 +6,6 @@
 #include "qemu/osdep.h"
 #include "qemu-common.h"
 #include "slirp.h"
-#include "qemu/osdep.h"
 #include "udp.h"
 
 void udp6_input(struct mbuf *m)