Remove anonymous namespaces.

No one likes them and we're pretty inconsistent at using them. We're
much better with 'static'.

Change-Id: I65eeffd0fb60633edca30923af0caedb06a0105d
diff --git a/src/java_lang_Runtime.cc b/src/java_lang_Runtime.cc
index 07af162..a057d36 100644
--- a/src/java_lang_Runtime.cc
+++ b/src/java_lang_Runtime.cc
@@ -27,14 +27,12 @@
 
 namespace art {
 
-namespace {
-
-void Runtime_gc(JNIEnv*, jclass) {
+static void Runtime_gc(JNIEnv*, jclass) {
   ScopedThreadStateChange tsc(Thread::Current(), Thread::kRunnable);
   Runtime::Current()->GetHeap()->CollectGarbage(false);
 }
 
-void Runtime_nativeExit(JNIEnv* env, jclass, jint status, jboolean isExit) {
+static void Runtime_nativeExit(JNIEnv* env, jclass, jint status, jboolean isExit) {
   // isExit is true for System.exit and false for System.halt.
   if (isExit) {
     Runtime::Current()->CallExitHook(status);
@@ -49,7 +47,7 @@
  * JNI-compatible methods. Returns null on success, or a failure
  * message on failure.
  */
-jstring Runtime_nativeLoad(JNIEnv* env, jclass, jstring javaFilename, jobject javaLoader) {
+static jstring Runtime_nativeLoad(JNIEnv* env, jclass, jstring javaFilename, jobject javaLoader) {
   ScopedUtfChars filename(env, javaFilename);
   if (filename.c_str() == NULL) {
     return NULL;
@@ -66,15 +64,15 @@
   return env->NewStringUTF(detail.c_str());
 }
 
-jlong Runtime_maxMemory(JNIEnv* env, jclass) {
+static jlong Runtime_maxMemory(JNIEnv* env, jclass) {
   return Runtime::Current()->GetHeap()->GetMaxMemory();
 }
 
-jlong Runtime_totalMemory(JNIEnv* env, jclass) {
+static jlong Runtime_totalMemory(JNIEnv* env, jclass) {
   return Runtime::Current()->GetHeap()->GetTotalMemory();
 }
 
-jlong Runtime_freeMemory(JNIEnv* env, jclass) {
+static jlong Runtime_freeMemory(JNIEnv* env, jclass) {
   return Runtime::Current()->GetHeap()->GetFreeMemory();
 }
 
@@ -87,8 +85,6 @@
     NATIVE_METHOD(Runtime, totalMemory, "()J"),
 };
 
-}  // namespace
-
 void register_java_lang_Runtime(JNIEnv* env) {
     jniRegisterNativeMethods(env, "java/lang/Runtime", gMethods, NELEM(gMethods));
 }