summaryrefslogtreecommitdiffstats
path: root/vm/RawDexFile.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/RawDexFile.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/RawDexFile.h')
-rw-r--r--vm/RawDexFile.h12
1 files changed, 2 insertions, 10 deletions
diff --git a/vm/RawDexFile.h b/vm/RawDexFile.h
index f2c1b68f7..ba777bb8e 100644
--- a/vm/RawDexFile.h
+++ b/vm/RawDexFile.h
@@ -21,18 +21,14 @@
#ifndef _DALVIK_RAWDEXFILE
#define _DALVIK_RAWDEXFILE
-#ifdef __cplusplus
-extern "C" {
-#endif
-
/*
* Structure representing a "raw" DEX file, in its unswapped unoptimized
* state.
*/
-typedef struct RawDexFile {
+struct RawDexFile {
char* cacheFileName;
DvmDex* pDvmDex;
-} RawDexFile;
+};
/*
* Open a raw ".dex" file, optimize it, and load it.
@@ -72,8 +68,4 @@ INLINE const char* dvmGetRawDexFileCacheFileName(RawDexFile* pRawDexFile) {
return pRawDexFile->cacheFileName;
}
-#ifdef __cplusplus
-}
-#endif
-
#endif /*_DALVIK_RAWDEXFILE*/