Remove event-private.h and switch to evconfig-private.h

This commit is contained in:
Kevin Bowling 2011-01-02 08:04:12 -07:00
parent 868f88874f
commit 9b27b30720
4 changed files with 6 additions and 10 deletions

View File

@ -125,10 +125,7 @@ if SIGNAL_SUPPORT
SYS_SRC += signal.c
endif
BUILT_SOURCES = ./include/event2/event-config.h event-private.h
event-private.h: config.h
cp config.h $@
BUILT_SOURCES = ./include/event2/event-config.h
./include/event2/event-config.h: config.h
@MKDIR_P@ ./include/event2
@ -196,7 +193,7 @@ noinst_HEADERS = util-internal.h mm-internal.h ipv6-internal.h \
minheap-internal.h log-internal.h evsignal-internal.h evmap-internal.h \
changelist-internal.h iocp-internal.h \
ratelim-internal.h \
event-private.h \
evconfig-private.h \
WIN32-Code/event2/event-config.h \
WIN32-Code/tree.h \
compat/sys/queue.h
@ -211,5 +208,5 @@ doxygen: FORCE
doxygen $(srcdir)/Doxyfile
FORCE:
DISTCLEANFILES = *~ libevent.pc ./include/event2/event-config.h event-private.h
DISTCLEANFILES = *~ libevent.pc ./include/event2/event-config.h

View File

@ -26,7 +26,7 @@
*/
#include "event2/event-config.h"
#include "event-private.h"
#include "evconfig-private.h"
#ifdef WIN32
#include <winsock2.h>

View File

@ -28,7 +28,7 @@
/* With glibc we need to define this to get PTHREAD_MUTEX_RECURSIVE.
* _GNU_SOURCE, now from event-private
*/
#include "event-private.h"
#include "evconfig-private.h"
#include <pthread.h>
struct event_base;

View File

@ -25,8 +25,7 @@
*/
#include "event2/event-config.h"
#include "event-private.h"
#include "evconfig-private.h"
#ifdef WIN32
#include <winsock2.h>