aboutsummaryrefslogtreecommitdiff
path: root/include/event2/keyvalq_struct.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/event2/keyvalq_struct.h')
-rw-r--r--include/event2/keyvalq_struct.h12
1 files changed, 6 insertions, 6 deletions
diff --git a/include/event2/keyvalq_struct.h b/include/event2/keyvalq_struct.h
index bffa54b..ab8040b 100644
--- a/include/event2/keyvalq_struct.h
+++ b/include/event2/keyvalq_struct.h
@@ -24,8 +24,8 @@
* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
-#ifndef EVENT2_KEYVALQ_STRUCT_H_INCLUDED_
-#define EVENT2_KEYVALQ_STRUCT_H_INCLUDED_
+#ifndef _EVENT2_EVENT_KEYVALQ_STRUCT_H_
+#define _EVENT2_EVENT_KEYVALQ_STRUCT_H_
#ifdef __cplusplus
extern "C" {
@@ -34,7 +34,7 @@ extern "C" {
/* Fix so that people don't have to run with <sys/queue.h> */
/* XXXX This code is duplicated with event_struct.h */
#ifndef TAILQ_ENTRY
-#define EVENT_DEFINED_TQENTRY_
+#define _EVENT_DEFINED_TQENTRY
#define TAILQ_ENTRY(type) \
struct { \
struct type *tqe_next; /* next element */ \
@@ -43,7 +43,7 @@ struct { \
#endif /* !TAILQ_ENTRY */
#ifndef TAILQ_HEAD
-#define EVENT_DEFINED_TQHEAD_
+#define _EVENT_DEFINED_TQHEAD
#define TAILQ_HEAD(name, type) \
struct name { \
struct type *tqh_first; \
@@ -65,11 +65,11 @@ struct evkeyval {
TAILQ_HEAD (evkeyvalq, evkeyval);
/* XXXX This code is duplicated with event_struct.h */
-#ifdef EVENT_DEFINED_TQENTRY_
+#ifdef _EVENT_DEFINED_TQENTRY
#undef TAILQ_ENTRY
#endif
-#ifdef EVENT_DEFINED_TQHEAD_
+#ifdef _EVENT_DEFINED_TQHEAD
#undef TAILQ_HEAD
#endif