From: Kevin Bowling Date: Sun, 2 Jan 2011 15:04:12 +0000 (-0700) Subject: Remove event-private.h and switch to evconfig-private.h X-Git-Tag: release-2.1.1-alpha~320^2~9 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=9b27b30720935d1bdc911d7f7823a4cebd359eef;p=libevent Remove event-private.h and switch to evconfig-private.h --- diff --git a/Makefile.am b/Makefile.am index ad5e2df5..cab603d7 100644 --- a/Makefile.am +++ b/Makefile.am @@ -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 diff --git a/buffer.c b/buffer.c index 94a30bc5..2482572e 100644 --- a/buffer.c +++ b/buffer.c @@ -26,7 +26,7 @@ */ #include "event2/event-config.h" -#include "event-private.h" +#include "evconfig-private.h" #ifdef WIN32 #include diff --git a/evthread_pthread.c b/evthread_pthread.c index 5a56359d..0eb363e9 100644 --- a/evthread_pthread.c +++ b/evthread_pthread.c @@ -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 struct event_base; diff --git a/evutil.c b/evutil.c index 5c2e8395..f610736c 100644 --- a/evutil.c +++ b/evutil.c @@ -25,8 +25,7 @@ */ #include "event2/event-config.h" - -#include "event-private.h" +#include "evconfig-private.h" #ifdef WIN32 #include