summaryrefslogtreecommitdiffstats
path: root/luni/src/main/native/java_lang_System.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'luni/src/main/native/java_lang_System.cpp')
-rw-r--r--luni/src/main/native/java_lang_System.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/luni/src/main/native/java_lang_System.cpp b/luni/src/main/native/java_lang_System.cpp
index 33f418d..8cfd070 100644
--- a/luni/src/main/native/java_lang_System.cpp
+++ b/luni/src/main/native/java_lang_System.cpp
@@ -88,6 +88,6 @@ static JNINativeMethod gMethods[] = {
NATIVE_METHOD(System, setFieldImpl, "(Ljava/lang/String;Ljava/lang/String;Ljava/lang/Object;)V"),
NATIVE_METHOD(System, specialProperties, "()[Ljava/lang/String;"),
};
-int register_java_lang_System(JNIEnv* env) {
- return jniRegisterNativeMethods(env, "java/lang/System", gMethods, NELEM(gMethods));
+void register_java_lang_System(JNIEnv* env) {
+ jniRegisterNativeMethods(env, "java/lang/System", gMethods, NELEM(gMethods));
}