From: Nick Mathewson Date: Mon, 13 Apr 2009 03:07:37 +0000 (+0000) Subject: Remove if0 code in bufferevent_struct.h X-Git-Tag: release-2.0.1-alpha~23 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=6567ecd4c587563be843ee8803417b53d3318cbd;p=libevent Remove if0 code in bufferevent_struct.h svn:r1168 --- diff --git a/include/event2/bufferevent_struct.h b/include/event2/bufferevent_struct.h index 322a4383..a667e89f 100644 --- a/include/event2/bufferevent_struct.h +++ b/include/event2/bufferevent_struct.h @@ -62,25 +62,6 @@ struct event_watermark { size_t high; }; -#if 0 -struct bufferevent_filter; - -/* Fix so that ppl dont have to run with */ -#ifndef TAILQ_HEAD -#define _EVENT_DEFINED_TQHEAD -#define TAILQ_HEAD(name, type) \ -struct name { \ - struct type *tqh_first; /* first element */ \ - struct type **tqh_last; /* addr of last next element */ \ -} -#endif /* !TAILQ_HEAD */ - -#ifdef _EVENT_DEFINED_TQHEAD -#undef TAILQ_HEAD -#undef _EVENT_DEFINED_TQHEAD -#endif /* _EVENT_DEFINED_TQHEAD */ -#endif - /** Shared implementation of a bufferevent.