Skip to content

Commit

Permalink
Remove event-private.h and switch to evconfig-private.h
Browse files Browse the repository at this point in the history
  • Loading branch information
kev009 committed Jan 2, 2011
1 parent 868f888 commit 9b27b30
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 10 deletions.
9 changes: 3 additions & 6 deletions Makefile.am
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand All @@ -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

2 changes: 1 addition & 1 deletion buffer.c
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
*/

#include "event2/event-config.h"
#include "event-private.h"
#include "evconfig-private.h"

#ifdef WIN32
#include <winsock2.h>
Expand Down
2 changes: 1 addition & 1 deletion evthread_pthread.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
3 changes: 1 addition & 2 deletions evutil.c
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,7 @@
*/

#include "event2/event-config.h"

#include "event-private.h"
#include "evconfig-private.h"

#ifdef WIN32
#include <winsock2.h>
Expand Down

0 comments on commit 9b27b30

Please sign in to comment.