]> granicus.if.org Git - libevent/commitdiff
Fix some problems introduced by automated identifier cleanup script
authorNick Mathewson <nickm@torproject.org>
Wed, 29 Feb 2012 20:07:32 +0000 (15:07 -0500)
committerNick Mathewson <nickm@torproject.org>
Wed, 29 Feb 2012 20:07:32 +0000 (15:07 -0500)
include/event2/event.h
include/event2/util.h

index e3c385cea4347edae990155cbef7d630731d2ebc..7b14433b1889a1530dff83e2b447b0cc5510100f 100644 (file)
@@ -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.
 
index 28ebfd1a0f284d635ab1a5f282c5873fadde2f57..72a8530b24fda614b6feef70115868dabfd120f6 100644 (file)
@@ -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.
 
    @{
 */