aboutsummaryrefslogtreecommitdiff
path: root/src/common/log.h
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2008-12-29 02:21:02 +0000
committerNick Mathewson <nickm@torproject.org>2008-12-29 02:21:02 +0000
commite8a3fa91a60310559d6ef3eb66663eab4c55b1c1 (patch)
tree17dc47ab473e94d8c4abc9c88a59fff4214d0846 /src/common/log.h
parentb0a8ecd19377d13592819b1bc17ea513523b2ed4 (diff)
downloadtor-e8a3fa91a60310559d6ef3eb66663eab4c55b1c1.tar.gz
tor-e8a3fa91a60310559d6ef3eb66663eab4c55b1c1.zip
Use a consistent naming standard for header file guard macros, taking care not to collide with any system headers. This tripped us up on Android.
svn:r17805
Diffstat (limited to 'src/common/log.h')
-rw-r--r--src/common/log.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/common/log.h b/src/common/log.h
index 15fb27e0a4..aa1e873050 100644
--- a/src/common/log.h
+++ b/src/common/log.h
@@ -11,7 +11,7 @@
* \brief Headers for log.c
**/
-#ifndef __LOG_H
+#ifndef _TOR_LOG_H
#define LOG_H_ID "$Id$"
#include "compat.h"
@@ -205,6 +205,6 @@ extern const char *_log_fn_function_name;
#endif /* !GNUC */
-# define __LOG_H
+# define _TOR_LOG_H
#endif