[tor-commits] [tor/master] Clean up reserved identifier usage in src/ext include guards
nickm at torproject.org
nickm at torproject.org
Mon Oct 15 15:21:42 UTC 2012
commit d7b79bf020fbf26330048e76c7a2606363ed0de9
Author: Nick Mathewson <nickm at torproject.org>
Date: Fri Oct 12 12:11:54 2012 -0400
Clean up reserved identifier usage in src/ext include guards
---
src/ext/eventdns.h | 4 ++--
src/ext/ht.h | 4 ++--
2 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/ext/eventdns.h b/src/ext/eventdns.h
index 1c130b2..ad8c100 100644
--- a/src/ext/eventdns.h
+++ b/src/ext/eventdns.h
@@ -209,8 +209,8 @@
* with the next probe.
*/
-#ifndef _TOR_EVENTDNS_H
-#define _TOR_EVENTDNS_H
+#ifndef TOR_EVENTDNS_H
+#define TOR_EVENTDNS_H
/* Error codes 0-5 are as described in RFC 1035. */
#define DNS_ERR_NONE 0
diff --git a/src/ext/ht.h b/src/ext/ht.h
index 25156c4..385aff2 100644
--- a/src/ext/ht.h
+++ b/src/ext/ht.h
@@ -5,8 +5,8 @@
/* Based on ideas by Christopher Clark and interfaces from Niels Provos. */
-#ifndef _TOR_HT_H
-#define _TOR_HT_H
+#ifndef HT_H_INCLUDED_
+#define HT_H_INCLUDED_
#define HT_HEAD(name, type) \
struct name { \
More information about the tor-commits
mailing list