mirror of
https://github.com/cuberite/libevent.git
synced 2025-09-18 08:49:57 -04:00
Use relative includes instead of system includes consistently.
This commit is contained in:
parent
ef5e65a484
commit
fbe64f216c
@ -47,7 +47,7 @@
|
|||||||
reported spuriously.
|
reported spuriously.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <event2/util.h>
|
#include "event2/util.h"
|
||||||
|
|
||||||
/** Represents a */
|
/** Represents a */
|
||||||
struct event_change {
|
struct event_change {
|
||||||
|
18
evdns.c
18
evdns.c
@ -68,16 +68,16 @@
|
|||||||
#include <shlobj.h>
|
#include <shlobj.h>
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#include <event2/dns.h>
|
#include "event2/dns.h"
|
||||||
#include <event2/dns_struct.h>
|
#include "event2/dns_struct.h"
|
||||||
#include <event2/dns_compat.h>
|
#include "event2/dns_compat.h"
|
||||||
#include <event2/util.h>
|
#include "event2/util.h"
|
||||||
#include <event2/event.h>
|
#include "event2/event.h"
|
||||||
#include <event2/event_struct.h>
|
#include "event2/event_struct.h"
|
||||||
#include <event2/thread.h>
|
#include "event2/thread.h"
|
||||||
|
|
||||||
#include <event2/bufferevent.h>
|
#include "event2/bufferevent.h"
|
||||||
#include <event2/bufferevent_struct.h>
|
#include "event2/bufferevent_struct.h"
|
||||||
#include "bufferevent-internal.h"
|
#include "bufferevent-internal.h"
|
||||||
|
|
||||||
#include "defer-internal.h"
|
#include "defer-internal.h"
|
||||||
|
2
evport.c
2
evport.c
@ -64,7 +64,7 @@
|
|||||||
#include <time.h>
|
#include <time.h>
|
||||||
#include <unistd.h>
|
#include <unistd.h>
|
||||||
|
|
||||||
#include <event2/thread.h>
|
#include "event2/thread.h"
|
||||||
|
|
||||||
#include "evthread-internal.h"
|
#include "evthread-internal.h"
|
||||||
#include "event-internal.h"
|
#include "event-internal.h"
|
||||||
|
@ -30,7 +30,7 @@
|
|||||||
extern "C" {
|
extern "C" {
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#include <event2/thread.h>
|
#include "event2/thread.h"
|
||||||
#include "event2/event-config.h"
|
#include "event2/event-config.h"
|
||||||
#include "util-internal.h"
|
#include "util-internal.h"
|
||||||
|
|
||||||
|
@ -28,7 +28,7 @@
|
|||||||
|
|
||||||
#ifndef _EVENT_DISABLE_THREAD_SUPPORT
|
#ifndef _EVENT_DISABLE_THREAD_SUPPORT
|
||||||
|
|
||||||
#include <event2/thread.h>
|
#include "event2/thread.h"
|
||||||
|
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
|
@ -30,7 +30,7 @@
|
|||||||
#include <pthread.h>
|
#include <pthread.h>
|
||||||
|
|
||||||
struct event_base;
|
struct event_base;
|
||||||
#include <event2/thread.h>
|
#include "event2/thread.h"
|
||||||
|
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
|
@ -34,7 +34,7 @@
|
|||||||
#endif
|
#endif
|
||||||
|
|
||||||
struct event_base;
|
struct event_base;
|
||||||
#include <event2/thread.h>
|
#include "event2/thread.h"
|
||||||
|
|
||||||
#include "mm-internal.h"
|
#include "mm-internal.h"
|
||||||
#include "evthread-internal.h"
|
#include "evthread-internal.h"
|
||||||
|
@ -35,7 +35,7 @@
|
|||||||
#include <sys/socket.h>
|
#include <sys/socket.h>
|
||||||
#endif
|
#endif
|
||||||
#include "event2/event-config.h"
|
#include "event2/event-config.h"
|
||||||
#include <event2/util.h>
|
#include "event2/util.h"
|
||||||
|
|
||||||
#ifdef __cplusplus
|
#ifdef __cplusplus
|
||||||
extern "C" {
|
extern "C" {
|
||||||
|
@ -44,10 +44,10 @@
|
|||||||
#include <unistd.h>
|
#include <unistd.h>
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#include <event2/listener.h>
|
#include "event2/listener.h"
|
||||||
#include <event2/util.h>
|
#include "event2/util.h"
|
||||||
#include <event2/event.h>
|
#include "event2/event.h"
|
||||||
#include <event2/event_struct.h>
|
#include "event2/event_struct.h"
|
||||||
#include "mm-internal.h"
|
#include "mm-internal.h"
|
||||||
#include "util-internal.h"
|
#include "util-internal.h"
|
||||||
#include "log-internal.h"
|
#include "log-internal.h"
|
||||||
|
@ -27,7 +27,7 @@
|
|||||||
#ifndef _LOG_H_
|
#ifndef _LOG_H_
|
||||||
#define _LOG_H_
|
#define _LOG_H_
|
||||||
|
|
||||||
#include <event2/util.h>
|
#include "event2/util.h"
|
||||||
|
|
||||||
#ifdef __GNUC__
|
#ifdef __GNUC__
|
||||||
#define EV_CHECK_FMT(a,b) __attribute__((format(printf, a, b)))
|
#define EV_CHECK_FMT(a,b) __attribute__((format(printf, a, b)))
|
||||||
|
@ -30,7 +30,7 @@
|
|||||||
extern "C" {
|
extern "C" {
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#include <event2/util.h>
|
#include "event2/util.h"
|
||||||
|
|
||||||
/** A token bucket is an internal structure that tracks how many bytes we are
|
/** 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
|
* currently willing to read or write on a given bufferevent or group of
|
||||||
|
Loading…
x
Reference in New Issue
Block a user