summaryrefslogtreecommitdiffstats
path: root/luni-kernel/src/main/native/java_lang_System.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'luni-kernel/src/main/native/java_lang_System.cpp')
-rw-r--r--luni-kernel/src/main/native/java_lang_System.cpp9
1 files changed, 1 insertions, 8 deletions
diff --git a/luni-kernel/src/main/native/java_lang_System.cpp b/luni-kernel/src/main/native/java_lang_System.cpp
index 52150d3..b114dab 100644
--- a/luni-kernel/src/main/native/java_lang_System.cpp
+++ b/luni-kernel/src/main/native/java_lang_System.cpp
@@ -14,7 +14,6 @@
* limitations under the License.
*/
-#include "AndroidSystemNatives.h"
#include "JNIHelp.h"
#include <stdlib.h>
@@ -84,17 +83,11 @@ static void java_setFieldImpl(JNIEnv* env, jclass clazz,
env->ReleaseStringUTFChars(sig, fieldSig);
}
-/*
- * JNI registration
- */
static JNINativeMethod gMethods[] = {
- /* name, signature, funcPtr */
{ "getEnvByName", "(Ljava/lang/String;)Ljava/lang/String;", (void*) java_getEnvByName },
{ "getEnvByIndex", "(I)Ljava/lang/String;", (void*) java_getEnvByIndex },
{ "setFieldImpl", "(Ljava/lang/String;Ljava/lang/String;Ljava/lang/Object;)V", (void*) java_setFieldImpl },
};
-
int register_java_lang_System(JNIEnv* env) {
- return jniRegisterNativeMethods(env, "java/lang/System",
- gMethods, NELEM(gMethods));
+ return jniRegisterNativeMethods(env, "java/lang/System", gMethods, NELEM(gMethods));
}