Staticify.

Mark some functions "static".

Change-Id: Ia80bccab1f72690729e43f99783d34fe366108b2
diff --git a/vm/compiler/Compiler.c b/vm/compiler/Compiler.c
index 8c26989..1ac6e97 100644
--- a/vm/compiler/Compiler.c
+++ b/vm/compiler/Compiler.c
@@ -327,7 +327,7 @@
     dvmCompilerPatchInlineCache();
 }
 
-bool compilerThreadStartup(void)
+static bool compilerThreadStartup(void)
 {
     JitEntry *pJitTable = NULL;
     unsigned char *pJitProfTable = NULL;
diff --git a/vm/compiler/Frontend.c b/vm/compiler/Frontend.c
index 525ec72..7f02ea1 100644
--- a/vm/compiler/Frontend.c
+++ b/vm/compiler/Frontend.c
@@ -377,7 +377,7 @@
  * Crawl the stack of the thread that requesed compilation to see if any of the
  * ancestors are on the blacklist.
  */
-bool filterMethodByCallGraph(Thread *thread, const char *curMethodName)
+static bool filterMethodByCallGraph(Thread *thread, const char *curMethodName)
 {
     /* Crawl the Dalvik stack frames and compare the method name*/
     StackSaveArea *ssaPtr = ((StackSaveArea *) thread->curFrame) - 1;
diff --git a/vm/compiler/Ralloc.c b/vm/compiler/Ralloc.c
index f227527..744bc32 100644
--- a/vm/compiler/Ralloc.c
+++ b/vm/compiler/Ralloc.c
@@ -25,7 +25,7 @@
     int last;
 } LiveRange;
 
-int computeLiveRange(LiveRange *list, BasicBlock *bb, int seqNum)
+static int computeLiveRange(LiveRange *list, BasicBlock *bb, int seqNum)
 {
     MIR *mir;
     int i;
diff --git a/vm/compiler/codegen/arm/CodegenCommon.c b/vm/compiler/codegen/arm/CodegenCommon.c
index d8854ba..ee5d9f5 100644
--- a/vm/compiler/codegen/arm/CodegenCommon.c
+++ b/vm/compiler/codegen/arm/CodegenCommon.c
@@ -361,7 +361,7 @@
 }
 
 /* Create the PC reconstruction slot if not already done */
-extern ArmLIR *genCheckCommon(CompilationUnit *cUnit, int dOffset,
+static ArmLIR *genCheckCommon(CompilationUnit *cUnit, int dOffset,
                               ArmLIR *branch,
                               ArmLIR *pcrLabel)
 {
diff --git a/vm/compiler/codegen/arm/RallocUtil.c b/vm/compiler/codegen/arm/RallocUtil.c
index e917995..ff5d16b 100644
--- a/vm/compiler/codegen/arm/RallocUtil.c
+++ b/vm/compiler/codegen/arm/RallocUtil.c
@@ -710,7 +710,7 @@
           info->inUse = true;
 }
 
-void copyRegInfo(CompilationUnit *cUnit, int newReg, int oldReg)
+static void copyRegInfo(CompilationUnit *cUnit, int newReg, int oldReg)
 {
     RegisterInfo *newInfo = getRegInfo(cUnit, newReg);
     RegisterInfo *oldInfo = getRegInfo(cUnit, oldReg);