From d862faa2ceae186da5518607505eb942d634ced9 Mon Sep 17 00:00:00 2001 From: Carl Shapiro Date: Wed, 27 Apr 2011 23:00:01 -0700 Subject: Get rid of uneeded extern, enum, typedef and struct qualifiers. Change-Id: I236c5a1553a51f82c9bc3eaaab042046c854d3b4 --- vm/compiler/codegen/CompilerCodegen.h | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) (limited to 'vm/compiler/codegen/CompilerCodegen.h') diff --git a/vm/compiler/codegen/CompilerCodegen.h b/vm/compiler/codegen/CompilerCodegen.h index 8223d2a9f..2e3b10749 100644 --- a/vm/compiler/codegen/CompilerCodegen.h +++ b/vm/compiler/codegen/CompilerCodegen.h @@ -19,10 +19,6 @@ #include "compiler/CompilerIR.h" -#ifdef __cplusplus -extern "C" { -#endif - /* Maximal number of switch cases to have inline chains */ #define MAX_CHAINED_SWITCH_CASES 64 @@ -39,7 +35,7 @@ void dvmCompilerMethodMIR2LIR(CompilationUnit *cUnit); void dvmCompilerAssembleLIR(CompilationUnit *cUnit, JitTranslationInfo *info); /* Perform translation chain operation. */ -void* dvmJitChain(void* tgtAddr, u4* branchAddr); +extern "C" void* dvmJitChain(void* tgtAddr, u4* branchAddr); /* Install class objects in the literal pool */ void dvmJitInstallClassObjectPointers(CompilationUnit *cUnit, @@ -75,8 +71,4 @@ int dvmCompilerTargetOptHint(int key); /* Implemented in codegen///ArchVariant.c */ void dvmCompilerGenMemBarrier(CompilationUnit *cUnit, int barrierKind); -#ifdef __cplusplus -} -#endif - #endif /* _DALVIK_VM_COMPILERCODEGEN_H_ */ -- cgit v1.2.3