From 6567ecd4c587563be843ee8803417b53d3318cbd Mon Sep 17 00:00:00 2001 From: Nick Mathewson Date: Mon, 13 Apr 2009 03:07:37 +0000 Subject: [PATCH] Remove if0 code in bufferevent_struct.h svn:r1168 --- include/event2/bufferevent_struct.h | 19 ------------------- 1 file changed, 19 deletions(-) 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.