From: Nick M. <ni...@us...> - 2010-12-02 16:00:22
|
Author: Evan Jones <ev...@mi...> Date: Thu, 2 Dec 2010 10:26:12 -0500 Subject: Use relative includes instead of system includes consistently. Commit: fbe64f216cbcf3980e436ca6bb708416c4d856a4 --- changelist-internal.h | 2 +- evdns.c | 18 +++++++++--------- evport.c | 2 +- evthread-internal.h | 2 +- evthread.c | 2 +- evthread_pthread.c | 2 +- evthread_win32.c | 2 +- ipv6-internal.h | 2 +- listener.c | 8 ++++---- log-internal.h | 2 +- ratelim-internal.h | 2 +- 11 files changed, 22 insertions(+), 22 deletions(-) diff --git a/changelist-internal.h b/changelist-internal.h index 2dc2346..2bcc228 100644 --- a/changelist-internal.h +++ b/changelist-internal.h @@ -47,7 +47,7 @@ reported spuriously. */ -#include <event2/util.h> +#include "event2/util.h" /** Represents a */ struct event_change { diff --git a/evdns.c b/evdns.c index 30ea59b..a1636a1 100644 --- a/evdns.c +++ b/evdns.c @@ -68,16 +68,16 @@ #include <shlobj.h> #endif -#include <event2/dns.h> -#include <event2/dns_struct.h> -#include <event2/dns_compat.h> -#include <event2/util.h> -#include <event2/event.h> -#include <event2/event_struct.h> -#include <event2/thread.h> - -#include <event2/bufferevent.h> -#include <event2/bufferevent_struct.h> +#include "event2/dns.h" +#include "event2/dns_struct.h" +#include "event2/dns_compat.h" +#include "event2/util.h" +#include "event2/event.h" +#include "event2/event_struct.h" +#include "event2/thread.h" + +#include "event2/bufferevent.h" +#include "event2/bufferevent_struct.h" #include "bufferevent-internal.h" #include "defer-internal.h" diff --git a/evport.c b/evport.c index 98d49e5..4301a39 100644 --- a/evport.c +++ b/evport.c @@ -64,7 +64,7 @@ #include <time.h> #include <unistd.h> -#include <event2/thread.h> +#include "event2/thread.h" #include "evthread-internal.h" #include "event-internal.h" diff --git a/evthread-internal.h b/evthread-internal.h index b7946f6..9317fdf 100644 --- a/evthread-internal.h +++ b/evthread-internal.h @@ -30,7 +30,7 @@ extern "C" { #endif -#include <event2/thread.h> +#include "event2/thread.h" #include "event2/event-config.h" #include "util-internal.h" diff --git a/evthread.c b/evthread.c index eb6d17c..35f14b2 100644 --- a/evthread.c +++ b/evthread.c @@ -28,7 +28,7 @@ #ifndef _EVENT_DISABLE_THREAD_SUPPORT -#include <event2/thread.h> +#include "event2/thread.h" #include <stdlib.h> #include <string.h> diff --git a/evthread_pthread.c b/evthread_pthread.c index d7439f7..55495a6 100644 --- a/evthread_pthread.c +++ b/evthread_pthread.c @@ -30,7 +30,7 @@ #include <pthread.h> struct event_base; -#include <event2/thread.h> +#include "event2/thread.h" #include <stdlib.h> #include <string.h> diff --git a/evthread_win32.c b/evthread_win32.c index 9bb3548..bd72be1 100644 --- a/evthread_win32.c +++ b/evthread_win32.c @@ -34,7 +34,7 @@ #endif struct event_base; -#include <event2/thread.h> +#include "event2/thread.h" #include "mm-internal.h" #include "evthread-internal.h" diff --git a/ipv6-internal.h b/ipv6-internal.h index b1c8cd3..7d6fb73 100644 --- a/ipv6-internal.h +++ b/ipv6-internal.h @@ -35,7 +35,7 @@ #include <sys/socket.h> #endif #include "event2/event-config.h" -#include <event2/util.h> +#include "event2/util.h" #ifdef __cplusplus extern "C" { diff --git a/listener.c b/listener.c index 01bf81d..d0911bd 100644 --- a/listener.c +++ b/listener.c @@ -44,10 +44,10 @@ #include <unistd.h> #endif -#include <event2/listener.h> -#include <event2/util.h> -#include <event2/event.h> -#include <event2/event_struct.h> +#include "event2/listener.h" +#include "event2/util.h" +#include "event2/event.h" +#include "event2/event_struct.h" #include "mm-internal.h" #include "util-internal.h" #include "log-internal.h" diff --git a/log-internal.h b/log-internal.h index d150e20..c1905ae 100644 --- a/log-internal.h +++ b/log-internal.h @@ -27,7 +27,7 @@ #ifndef _LOG_H_ #define _LOG_H_ -#include <event2/util.h> +#include "event2/util.h" #ifdef __GNUC__ #define EV_CHECK_FMT(a,b) __attribute__((format(printf, a, b))) diff --git a/ratelim-internal.h b/ratelim-internal.h index 043e5b2..df75f86 100644 --- a/ratelim-internal.h +++ b/ratelim-internal.h @@ -30,7 +30,7 @@ extern "C" { #endif -#include <event2/util.h> +#include "event2/util.h" /** A token bucket is an internal structure that tracks how many bytes we are * currently willing to read or write on a given bufferevent or group of -- 1.7.0.1 |