diff options
author | Peter Maydell <peter.maydell@linaro.org> | 2016-01-29 17:49:59 +0000 |
---|---|---|
committer | Timothy Pearson <tpearson@raptorengineering.com> | 2019-11-29 19:31:48 -0600 |
commit | 1919b919d76a9b5789c8d99d703d4492f1f3c198 (patch) | |
tree | 40aa8c3d6e03a2423e47ee00e2eb81ab688c5f53 | |
parent | b858fa2142acc49709ccb15a6d1d3141f4bf4512 (diff) | |
download | hqemu-1919b919d76a9b5789c8d99d703d4492f1f3c198.zip hqemu-1919b919d76a9b5789c8d99d703d4492f1f3c198.tar.gz |
slirp: Clean up includes
Clean up includes so that osdep.h is included first and headers
which it implies are not included manually.
This commit was created with scripts/clean-includes.
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Message-id: 1454089805-5470-10-git-send-email-peter.maydell@linaro.org
-rw-r--r-- | slirp/arp_table.c | 1 | ||||
-rw-r--r-- | slirp/bootp.c | 1 | ||||
-rw-r--r-- | slirp/cksum.c | 1 | ||||
-rw-r--r-- | slirp/dnssearch.c | 4 | ||||
-rw-r--r-- | slirp/if.c | 1 | ||||
-rw-r--r-- | slirp/ip_icmp.c | 1 | ||||
-rw-r--r-- | slirp/ip_input.c | 1 | ||||
-rw-r--r-- | slirp/ip_output.c | 1 | ||||
-rw-r--r-- | slirp/mbuf.c | 1 | ||||
-rw-r--r-- | slirp/misc.c | 1 | ||||
-rw-r--r-- | slirp/sbuf.c | 1 | ||||
-rw-r--r-- | slirp/slirp.c | 1 | ||||
-rw-r--r-- | slirp/socket.c | 1 | ||||
-rw-r--r-- | slirp/tcp_input.c | 1 | ||||
-rw-r--r-- | slirp/tcp_output.c | 1 | ||||
-rw-r--r-- | slirp/tcp_subr.c | 1 | ||||
-rw-r--r-- | slirp/tcp_timer.c | 1 | ||||
-rw-r--r-- | slirp/tftp.c | 1 | ||||
-rw-r--r-- | slirp/udp.c | 1 |
19 files changed, 19 insertions, 3 deletions
diff --git a/slirp/arp_table.c b/slirp/arp_table.c index bcaeb44..3547043 100644 --- a/slirp/arp_table.c +++ b/slirp/arp_table.c @@ -22,6 +22,7 @@ * THE SOFTWARE. */ +#include "qemu/osdep.h" #include "slirp.h" void arp_table_add(Slirp *slirp, uint32_t ip_addr, uint8_t ethaddr[ETH_ALEN]) diff --git a/slirp/bootp.c b/slirp/bootp.c index 0027279..7b3232b 100644 --- a/slirp/bootp.c +++ b/slirp/bootp.c @@ -21,6 +21,7 @@ * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN * THE SOFTWARE. */ +#include "qemu/osdep.h" #include <slirp.h> #if defined(_WIN32) diff --git a/slirp/cksum.c b/slirp/cksum.c index 6328660..bc0d017 100644 --- a/slirp/cksum.c +++ b/slirp/cksum.c @@ -30,6 +30,7 @@ * in_cksum.c,v 1.2 1994/08/02 07:48:16 davidg Exp */ +#include "qemu/osdep.h" #include <slirp.h> /* diff --git a/slirp/dnssearch.c b/slirp/dnssearch.c index 4c9064e..aed2f13 100644 --- a/slirp/dnssearch.c +++ b/slirp/dnssearch.c @@ -22,9 +22,7 @@ * THE SOFTWARE. */ -#include <stdlib.h> -#include <string.h> -#include <stdio.h> +#include "qemu/osdep.h" #include <glib.h> #include "slirp.h" @@ -5,6 +5,7 @@ * terms and conditions of the copyright. */ +#include "qemu/osdep.h" #include <slirp.h> #include "qemu/timer.h" diff --git a/slirp/ip_icmp.c b/slirp/ip_icmp.c index 592f33a..ace3982 100644 --- a/slirp/ip_icmp.c +++ b/slirp/ip_icmp.c @@ -30,6 +30,7 @@ * ip_icmp.c,v 1.7 1995/05/30 08:09:42 rgrimes Exp */ +#include "qemu/osdep.h" #include "slirp.h" #include "ip_icmp.h" diff --git a/slirp/ip_input.c b/slirp/ip_input.c index 7d436e6..e4855ae 100644 --- a/slirp/ip_input.c +++ b/slirp/ip_input.c @@ -38,6 +38,7 @@ * terms and conditions of the copyright. */ +#include "qemu/osdep.h" #include <slirp.h> #include <qemu/osdep.h> #include "ip_icmp.h" diff --git a/slirp/ip_output.c b/slirp/ip_output.c index 1254d0d..0d6b3b8 100644 --- a/slirp/ip_output.c +++ b/slirp/ip_output.c @@ -38,6 +38,7 @@ * terms and conditions of the copyright. */ +#include "qemu/osdep.h" #include <slirp.h> /* Number of packets queued before we start sending diff --git a/slirp/mbuf.c b/slirp/mbuf.c index bc942b6..c959758 100644 --- a/slirp/mbuf.c +++ b/slirp/mbuf.c @@ -15,6 +15,7 @@ * the flags */ +#include "qemu/osdep.h" #include <slirp.h> #define MBUF_THRESH 30 diff --git a/slirp/misc.c b/slirp/misc.c index 5497161..e2eea2e 100644 --- a/slirp/misc.c +++ b/slirp/misc.c @@ -5,6 +5,7 @@ * terms and conditions of the copyright. */ +#include "qemu/osdep.h" #include <slirp.h> #include <libslirp.h> diff --git a/slirp/sbuf.c b/slirp/sbuf.c index b8c3db7..dd4cb8c 100644 --- a/slirp/sbuf.c +++ b/slirp/sbuf.c @@ -5,6 +5,7 @@ * terms and conditions of the copyright. */ +#include "qemu/osdep.h" #include <slirp.h> #include <qemu/main-loop.h> diff --git a/slirp/slirp.c b/slirp/slirp.c index b900775..0466d33 100644 --- a/slirp/slirp.c +++ b/slirp/slirp.c @@ -21,6 +21,7 @@ * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN * THE SOFTWARE. */ +#include "qemu/osdep.h" #include "qemu-common.h" #include "qemu/timer.h" #include "qemu/error-report.h" diff --git a/slirp/socket.c b/slirp/socket.c index f7e5968..2b5453e 100644 --- a/slirp/socket.c +++ b/slirp/socket.c @@ -5,6 +5,7 @@ * terms and conditions of the copyright. */ +#include "qemu/osdep.h" #include "qemu-common.h" #include <slirp.h> #include "ip_icmp.h" diff --git a/slirp/tcp_input.c b/slirp/tcp_input.c index f24e706..2027a75 100644 --- a/slirp/tcp_input.c +++ b/slirp/tcp_input.c @@ -38,6 +38,7 @@ * terms and conditions of the copyright. */ +#include "qemu/osdep.h" #include <slirp.h> #include "ip_icmp.h" diff --git a/slirp/tcp_output.c b/slirp/tcp_output.c index fafca58..34e4d2e 100644 --- a/slirp/tcp_output.c +++ b/slirp/tcp_output.c @@ -38,6 +38,7 @@ * terms and conditions of the copyright. */ +#include "qemu/osdep.h" #include <slirp.h> static const u_char tcp_outflags[TCP_NSTATES] = { diff --git a/slirp/tcp_subr.c b/slirp/tcp_subr.c index 36e3256..b1aa1f2 100644 --- a/slirp/tcp_subr.c +++ b/slirp/tcp_subr.c @@ -38,6 +38,7 @@ * terms and conditions of the copyright. */ +#include "qemu/osdep.h" #include <slirp.h> /* patchable/settable parameters for tcp */ diff --git a/slirp/tcp_timer.c b/slirp/tcp_timer.c index 6c5bb11..1214c2e 100644 --- a/slirp/tcp_timer.c +++ b/slirp/tcp_timer.c @@ -30,6 +30,7 @@ * tcp_timer.c,v 1.2 1994/08/02 07:49:10 davidg Exp */ +#include "qemu/osdep.h" #include <slirp.h> static struct tcpcb *tcp_timers(register struct tcpcb *tp, int timer); diff --git a/slirp/tftp.c b/slirp/tftp.c index ccb6130..abb0106 100644 --- a/slirp/tftp.c +++ b/slirp/tftp.c @@ -22,6 +22,7 @@ * THE SOFTWARE. */ +#include "qemu/osdep.h" #include <slirp.h> #include "qemu-common.h" diff --git a/slirp/udp.c b/slirp/udp.c index 92c48c4..6b39cab 100644 --- a/slirp/udp.c +++ b/slirp/udp.c @@ -38,6 +38,7 @@ * terms and conditions of the copyright. */ +#include "qemu/osdep.h" #include <slirp.h> #include "ip_icmp.h" |