summaryrefslogtreecommitdiffstats
path: root/vm/Common.h
diff options
context:
space:
mode:
authorCarl Shapiro <cshapiro@google.com>2011-06-14 20:31:24 -0700
committerCarl Shapiro <cshapiro@google.com>2011-06-14 20:42:37 -0700
commit375fb116bcb817b37509ab579dbd55cdbb765cbf (patch)
tree8e033bfca03e94b0fc561f2bd6b94d5f8d11b0a3 /vm/Common.h
parent7baeded82e40352ebfb43b716e0b1dd752e72e7e (diff)
downloadandroid_dalvik-375fb116bcb817b37509ab579dbd55cdbb765cbf.tar.gz
android_dalvik-375fb116bcb817b37509ab579dbd55cdbb765cbf.tar.bz2
android_dalvik-375fb116bcb817b37509ab579dbd55cdbb765cbf.zip
Normalize the include guard style.
An leading underscore followed by a capital letter is a reserved name space in C and C++. This change also moves any #include directives within the include guard in some of the compiler/codegen/arm header files. Change-Id: I9715e2c5301699d31886e61d0fe6e29483555a2a
Diffstat (limited to 'vm/Common.h')
-rw-r--r--vm/Common.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/vm/Common.h b/vm/Common.h
index 45402fe82..43c750097 100644
--- a/vm/Common.h
+++ b/vm/Common.h
@@ -17,8 +17,8 @@
/*
* Common defines for all Dalvik code.
*/
-#ifndef _DALVIK_COMMON
-#define _DALVIK_COMMON
+#ifndef DALVIK_COMMON_H_
+#define DALVIK_COMMON_H_
#ifndef LOG_TAG
# define LOG_TAG "dalvikvm"
@@ -120,4 +120,4 @@ union JValue {
#define NELEM(x) ((int) (sizeof(x) / sizeof((x)[0])))
-#endif /*_DALVIK_COMMON*/
+#endif // DALVIK_COMMON_H_