summaryrefslogtreecommitdiffstats
path: root/vm/DvmDex.h
diff options
context:
space:
mode:
authorCarl Shapiro <cshapiro@google.com>2011-04-27 23:00:01 -0700
committerCarl Shapiro <cshapiro@google.com>2011-04-27 23:00:01 -0700
commitd862faa2ceae186da5518607505eb942d634ced9 (patch)
tree3854638a1851457b5f895fc6c39fa032fd90c6f9 /vm/DvmDex.h
parent5cdd4a3f91d3fc25c8eeca8f58e35bb6c4e908ca (diff)
downloadandroid_dalvik-d862faa2ceae186da5518607505eb942d634ced9.tar.gz
android_dalvik-d862faa2ceae186da5518607505eb942d634ced9.tar.bz2
android_dalvik-d862faa2ceae186da5518607505eb942d634ced9.zip
Get rid of uneeded extern, enum, typedef and struct qualifiers.
Change-Id: I236c5a1553a51f82c9bc3eaaab042046c854d3b4
Diffstat (limited to 'vm/DvmDex.h')
-rw-r--r--vm/DvmDex.h12
1 files changed, 2 insertions, 10 deletions
diff --git a/vm/DvmDex.h b/vm/DvmDex.h
index 937f09dfd..df147605f 100644
--- a/vm/DvmDex.h
+++ b/vm/DvmDex.h
@@ -21,10 +21,6 @@
#ifndef _DALVIK_DVMDEX
#define _DALVIK_DVMDEX
-#ifdef __cplusplus
-extern "C" {
-#endif
-
#include "libdex/DexFile.h"
/* extern */
@@ -38,7 +34,7 @@ struct StringObject;
/*
* Some additional VM data structures that are associated with the DEX file.
*/
-typedef struct DvmDex {
+struct DvmDex {
/* pointer to the DexFile we're associated with */
DexFile* pDexFile;
@@ -67,7 +63,7 @@ typedef struct DvmDex {
/* lock ensuring mutual exclusion during updates */
pthread_mutex_t modLock;
-} DvmDex;
+};
/*
@@ -162,8 +158,4 @@ INLINE void dvmDexSetResolvedField(DvmDex* pDvmDex, u4 fieldIdx,
pDvmDex->pResFields[fieldIdx] = field;
}
-#ifdef __cplusplus
-}
-#endif
-
#endif /*_DALVIK_DVMDEX*/