commit | 76f6a86de25e1bf74717e047e55fd44b089673f3 | [log] [tgz] |
---|---|---|
author | Daniel Micay <danielmicay@gmail.com> | Sat Sep 19 17:31:01 2015 -0400 |
committer | Daniel Micay <danielmicay@gmail.com> | Tue Sep 22 17:10:35 2015 -0400 |
tree | c07e5cd58bcdd692593d6b7cd3edd40344ee4973 | |
parent | 24ff6823c411f794aceaae89b0b029fbf8ef6b29 [diff] [blame] |
constify JNINativeMethod function pointer tables Change-Id: I4036c924958221cbc644724f8eb01c5de3cd7954
diff --git a/core/jni/android_os_SystemClock.cpp b/core/jni/android_os_SystemClock.cpp index dfe024e..d98407d 100644 --- a/core/jni/android_os_SystemClock.cpp +++ b/core/jni/android_os_SystemClock.cpp
@@ -104,7 +104,7 @@ /* * JNI registration. */ -static JNINativeMethod gMethods[] = { +static const JNINativeMethod gMethods[] = { /* name, signature, funcPtr */ { "uptimeMillis", "()J", (void*) android_os_SystemClock_uptimeMillis },