summaryrefslogtreecommitdiffstats
path: root/vm/Atomic.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/Atomic.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/Atomic.h')
-rw-r--r--vm/Atomic.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/vm/Atomic.h b/vm/Atomic.h
index 9d4333264..c7e965fb0 100644
--- a/vm/Atomic.h
+++ b/vm/Atomic.h
@@ -17,8 +17,8 @@
/*
* Atomic operations
*/
-#ifndef _DALVIK_ATOMIC
-#define _DALVIK_ATOMIC
+#ifndef DALVIK_ATOMIC_H_
+#define DALVIK_ATOMIC_H_
#include <cutils/atomic.h> /* use common Android atomic ops */
#include <cutils/atomic-inline.h> /* and some uncommon ones */
@@ -52,4 +52,4 @@ extern "C" int64_t dvmQuasiAtomicRead64(volatile const int64_t* addr);
int dvmQuasiAtomicCas64(int64_t oldvalue, int64_t newvalue,
volatile int64_t* addr);
-#endif /*_DALVIK_ATOMIC*/
+#endif // DALVIK_ATOMIC_H_