summaryrefslogtreecommitdiffstats
path: root/vm/Sync.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/Sync.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/Sync.h')
-rw-r--r--vm/Sync.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/vm/Sync.h b/vm/Sync.h
index 14b34fdcd..2016c0381 100644
--- a/vm/Sync.h
+++ b/vm/Sync.h
@@ -16,8 +16,8 @@
/*
* Object synchronization functions.
*/
-#ifndef _DALVIK_SYNC
-#define _DALVIK_SYNC
+#ifndef DALVIK_SYNC_H_
+#define DALVIK_SYNC_H_
/*
* Monitor shape field. Used to distinguish immediate thin locks from
@@ -147,4 +147,4 @@ bool dvmHoldsLock(Thread* thread, Object* obj);
int dvmRelativeCondWait(pthread_cond_t* cond, pthread_mutex_t* mutex,
s8 msec, s4 nsec);
-#endif /*_DALVIK_SYNC*/
+#endif // DALVIK_SYNC_H_