]> granicus.if.org Git - libevent/commitdiff
Remove if0 code in bufferevent_struct.h
authorNick Mathewson <nickm@torproject.org>
Mon, 13 Apr 2009 03:07:37 +0000 (03:07 +0000)
committerNick Mathewson <nickm@torproject.org>
Mon, 13 Apr 2009 03:07:37 +0000 (03:07 +0000)
svn:r1168

include/event2/bufferevent_struct.h

index 322a4383d01a18e15d28f097c326bb97ec396ee5..a667e89f1842b0980eb78ae714032bf3205fefd8 100644 (file)
@@ -62,25 +62,6 @@ struct event_watermark {
        size_t high;
 };
 
-#if 0
-struct bufferevent_filter;
-
-/* Fix so that ppl dont have to run with <sys/queue.h> */
-#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.