From c08f9fb2a3be82bb1a3f477ca1524ddcf7a1d4b8 Mon Sep 17 00:00:00 2001 From: Elliott Hughes Date: Fri, 16 Apr 2010 17:44:12 -0700 Subject: Move the libcore registration out of libnativehelpers and into libcore. Bug: 754114 Change-Id: Iaa03def509c10cbaa12fd2128584b93d4be4a6b7 --- luni/src/main/native/java_io_File.cpp | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'luni/src/main/native/java_io_File.cpp') diff --git a/luni/src/main/native/java_io_File.cpp b/luni/src/main/native/java_io_File.cpp index 3006275..dc25057 100644 --- a/luni/src/main/native/java_io_File.cpp +++ b/luni/src/main/native/java_io_File.cpp @@ -15,7 +15,6 @@ * limitations under the License. */ -#include "AndroidSystemNatives.h" #include "JNIHelp.h" #include "LocalArray.h" #include "ScopedByteArray.h" @@ -395,7 +394,6 @@ static jboolean java_io_File_renameToImpl(JNIEnv* env, jobject, jbyteArray oldPa } static JNINativeMethod gMethods[] = { - /* name, signature, funcPtr */ { "canExecuteImpl", "([B)Z", (void*) java_io_File_canExecuteImpl }, { "canReadImpl", "([B)Z", (void*) java_io_File_canReadImpl }, { "canWriteImpl", "([B)Z", (void*) java_io_File_canWriteImpl }, @@ -420,6 +418,5 @@ static JNINativeMethod gMethods[] = { { "setLastModifiedImpl","([BJ)Z", (void*) java_io_File_setLastModifiedImpl }, }; int register_java_io_File(JNIEnv* env) { - return jniRegisterNativeMethods(env, "java/io/File", - gMethods, NELEM(gMethods)); + return jniRegisterNativeMethods(env, "java/io/File", gMethods, NELEM(gMethods)); } -- cgit v1.1