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_util_concurrent_atomic_AtomicLong.cc b/src/java_util_concurrent_atomic_AtomicLong.cc
index eda98ac..118b9e4 100644
--- a/src/java_util_concurrent_atomic_AtomicLong.cc
+++ b/src/java_util_concurrent_atomic_AtomicLong.cc
@@ -21,18 +21,14 @@
namespace art {
-namespace {
-
-jboolean AtomicLong_VMSupportsCS8(JNIEnv*, jclass) {
+static jboolean AtomicLong_VMSupportsCS8(JNIEnv*, jclass) {
return JNI_TRUE;
}
-JNINativeMethod gMethods[] = {
+static JNINativeMethod gMethods[] = {
NATIVE_METHOD(AtomicLong, VMSupportsCS8, "()Z"),
};
-} // namespace
-
void register_java_util_concurrent_atomic_AtomicLong(JNIEnv* env) {
jniRegisterNativeMethods(env, "java/util/concurrent/atomic/AtomicLong", gMethods, NELEM(gMethods));
}