summaryrefslogtreecommitdiff
path: root/evrpc.c
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2010-01-23 16:47:54 -0500
committerNick Mathewson <nickm@torproject.org>2010-01-23 23:12:29 -0500
commit70a4a3ef141e8e5f21549669fc4f67ae75d150f1 (patch)
treece9ae294036a243d20228302ac0ecde2209b0b39 /evrpc.c
parent5c7a7bca4c7c3d0bbda4bb8e4ff9f1b335f55499 (diff)
downloadlibevent-70a4a3ef141e8e5f21549669fc4f67ae75d150f1.tar.gz
Remove a needless include of rpc_compat.h
Nothing in evrpc.c was using rpc_compat.h, so it's best to take it out, especially since it polluted our build process with GCC variadic macros. While we're at it, this patch puts an extra restriction on when the variadic macros in rpc_compat.h are defined. Not only must GCC be the compiler, but GCC must not be running in -ansi mode.
Diffstat (limited to 'evrpc.c')
-rw-r--r--evrpc.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/evrpc.c b/evrpc.c
index e05972c3..8600297b 100644
--- a/evrpc.c
+++ b/evrpc.c
@@ -56,7 +56,6 @@
#include "event2/event_struct.h"
#include "event2/rpc.h"
#include "event2/rpc_struct.h"
-#include "event2/rpc_compat.h"
#include "evrpc-internal.h"
#include "event2/http.h"
#include "event2/buffer.h"