From c9635349ecd241b769afcbd76202a292cf3a26dd Mon Sep 17 00:00:00 2001 From: Nick Mathewson Date: Wed, 29 Feb 2012 15:07:32 -0500 Subject: [PATCH] Fix some problems introduced by automated identifier cleanup script --- include/event2/event.h | 7 +++++++ include/event2/util.h | 2 +- 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/include/event2/event.h b/include/event2/event.h index e3c385ce..7b14433b 100644 --- a/include/event2/event.h +++ b/include/event2/event.h @@ -601,6 +601,13 @@ void event_base_free(struct event_base *); #define EVENT_LOG_ERR 3 /**@}*/ +/* Obsolete names: these are deprecated, but older programs might use them. + * They violate the reserved-identifier namespace. */ +#define _EVENT_LOG_DEBUG EVENT_LOG_DEBUG +#define _EVENT_LOG_MSG EVENT_LOG_MSG +#define _EVENT_LOG_WARN EVENT_LOG_WARN +#define _EVENT_LOG_ERR EVENT_LOG_ERR + /** A callback function used to intercept Libevent's log messages. diff --git a/include/event2/util.h b/include/event2/util.h index 28ebfd1a..72a8530b 100644 --- a/include/event2/util.h +++ b/include/event2/util.h @@ -224,7 +224,7 @@ extern "C" { @name Limits for integer types These macros hold the largest or smallest values possible for the - ev_[u]int*t_ types. + ev_[u]int*_t types. @{ */ -- 2.40.0