diff options
author | Markus Armbruster <armbru@redhat.com> | 2016-06-22 19:11:19 +0200 |
---|---|---|
committer | Markus Armbruster <armbru@redhat.com> | 2016-07-12 16:19:16 +0200 |
commit | 97a03b9847841a4e4bdca3eeba35aa19e68ac6a3 (patch) | |
tree | 92590286d91a689ec1cb8f8c42f3350e9f185408 | |
parent | becb9498d942c110c6b0b8f25f0848a8c5fc431d (diff) | |
download | slirp-97a03b9847841a4e4bdca3eeba35aa19e68ac6a3.zip slirp-97a03b9847841a4e4bdca3eeba35aa19e68ac6a3.tar.gz slirp-97a03b9847841a4e4bdca3eeba35aa19e68ac6a3.tar.bz2 |
Use #include "..." for our own headers, <...> for others
Tracked down with an ugly, brittle and probably buggy Perl script.
Also move includes converted to <...> up so they get included before
ours where that's obviously okay.
Signed-off-by: Markus Armbruster <armbru@redhat.com>
Reviewed-by: Eric Blake <eblake@redhat.com>
Tested-by: Eric Blake <eblake@redhat.com>
Reviewed-by: Richard Henderson <rth@twiddle.net>
-rw-r--r-- | bootp.c | 2 | ||||
-rw-r--r-- | cksum.c | 2 | ||||
-rw-r--r-- | if.c | 2 | ||||
-rw-r--r-- | ip_input.c | 2 | ||||
-rw-r--r-- | ip_output.c | 2 | ||||
-rw-r--r-- | mbuf.c | 2 | ||||
-rw-r--r-- | misc.c | 5 | ||||
-rw-r--r-- | sbuf.c | 4 | ||||
-rw-r--r-- | socket.c | 2 | ||||
-rw-r--r-- | tcp_input.c | 2 | ||||
-rw-r--r-- | tcp_output.c | 2 | ||||
-rw-r--r-- | tcp_subr.c | 2 | ||||
-rw-r--r-- | tcp_timer.c | 2 | ||||
-rw-r--r-- | tftp.c | 2 | ||||
-rw-r--r-- | udp.c | 2 |
15 files changed, 17 insertions, 18 deletions
@@ -22,7 +22,7 @@ * THE SOFTWARE. */ #include "qemu/osdep.h" -#include <slirp.h> +#include "slirp.h" #if defined(_WIN32) /* Windows ntohl() returns an u_long value. @@ -31,7 +31,7 @@ */ #include "qemu/osdep.h" -#include <slirp.h> +#include "slirp.h" /* * Checksum routine for Internet Protocol family headers (Portable Version). @@ -6,7 +6,7 @@ */ #include "qemu/osdep.h" -#include <slirp.h> +#include "slirp.h" #include "qemu/timer.h" static void ifs_insque(struct mbuf *ifm, struct mbuf *ifmhead) @@ -39,7 +39,7 @@ */ #include "qemu/osdep.h" -#include <slirp.h> +#include "slirp.h" #include "ip_icmp.h" static struct ip *ip_reass(Slirp *slirp, struct ip *ip, struct ipq *fp); diff --git a/ip_output.c b/ip_output.c index 6da0b7c..296c8f7 100644 --- a/ip_output.c +++ b/ip_output.c @@ -39,7 +39,7 @@ */ #include "qemu/osdep.h" -#include <slirp.h> +#include "slirp.h" /* Number of packets queued before we start sending * (to prevent allocing too many mbufs) */ @@ -16,7 +16,7 @@ */ #include "qemu/osdep.h" -#include <slirp.h> +#include "slirp.h" #define MBUF_THRESH 30 @@ -6,9 +6,8 @@ */ #include "qemu/osdep.h" -#include <slirp.h> -#include <libslirp.h> - +#include "slirp.h" +#include "libslirp.h" #include "monitor/monitor.h" #include "qemu/error-report.h" #include "qemu/main-loop.h" @@ -6,8 +6,8 @@ */ #include "qemu/osdep.h" -#include <slirp.h> -#include <qemu/main-loop.h> +#include "slirp.h" +#include "qemu/main-loop.h" static void sbappendsb(struct sbuf *sb, struct mbuf *m); @@ -7,7 +7,7 @@ #include "qemu/osdep.h" #include "qemu-common.h" -#include <slirp.h> +#include "slirp.h" #include "ip_icmp.h" #ifdef __sun__ #include <sys/filio.h> diff --git a/tcp_input.c b/tcp_input.c index 0d7b48c..9b075d0 100644 --- a/tcp_input.c +++ b/tcp_input.c @@ -39,7 +39,7 @@ */ #include "qemu/osdep.h" -#include <slirp.h> +#include "slirp.h" #include "ip_icmp.h" #define TCPREXMTTHRESH 3 diff --git a/tcp_output.c b/tcp_output.c index e0061c3..2528016 100644 --- a/tcp_output.c +++ b/tcp_output.c @@ -39,7 +39,7 @@ */ #include "qemu/osdep.h" -#include <slirp.h> +#include "slirp.h" static const u_char tcp_outflags[TCP_NSTATES] = { TH_RST | TH_ACK, 0, TH_SYN, TH_SYN | TH_ACK, @@ -39,7 +39,7 @@ */ #include "qemu/osdep.h" -#include <slirp.h> +#include "slirp.h" /* patchable/settable parameters for tcp */ /* Don't do rfc1323 performance enhancements */ diff --git a/tcp_timer.c b/tcp_timer.c index a264d9e..36c4dbd 100644 --- a/tcp_timer.c +++ b/tcp_timer.c @@ -31,7 +31,7 @@ */ #include "qemu/osdep.h" -#include <slirp.h> +#include "slirp.h" static struct tcpcb *tcp_timers(register struct tcpcb *tp, int timer); @@ -23,7 +23,7 @@ */ #include "qemu/osdep.h" -#include <slirp.h> +#include "slirp.h" #include "qemu-common.h" #include "qemu/cutils.h" @@ -39,7 +39,7 @@ */ #include "qemu/osdep.h" -#include <slirp.h> +#include "slirp.h" #include "ip_icmp.h" static uint8_t udp_tos(struct socket *so); |