diff options
author | Dominik Riebeling <Dominik.Riebeling@gmail.com> | 2011-05-29 17:32:49 +0000 |
---|---|---|
committer | Dominik Riebeling <Dominik.Riebeling@gmail.com> | 2011-05-29 17:32:49 +0000 |
commit | d7d830fa081696c407996b308626d8d6c3a09618 (patch) | |
tree | 8b385527de2acb64b2a9f7f12261c2000d7fa0e6 /firmware | |
parent | bc3f9c1b71bdf15e80e80b6aa41a4e39a258ba82 (diff) | |
download | rockbox-d7d830fa081696c407996b308626d8d6c3a09618.tar.gz rockbox-d7d830fa081696c407996b308626d8d6c3a09618.zip |
Fix an implicit declaration warning.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29930 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware')
-rw-r--r-- | firmware/target/hosted/android/button-android.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/firmware/target/hosted/android/button-android.c b/firmware/target/hosted/android/button-android.c index 051a5b574e..61d7256a11 100644 --- a/firmware/target/hosted/android/button-android.c +++ b/firmware/target/hosted/android/button-android.c | |||
@@ -28,6 +28,7 @@ | |||
28 | #include "kernel.h" | 28 | #include "kernel.h" |
29 | #include "system.h" | 29 | #include "system.h" |
30 | #include "touchscreen.h" | 30 | #include "touchscreen.h" |
31 | #include "powermgmt.h" | ||
31 | 32 | ||
32 | extern JNIEnv *env_ptr; | 33 | extern JNIEnv *env_ptr; |
33 | static int last_y, last_x; | 34 | static int last_y, last_x; |
@@ -84,7 +85,7 @@ Java_org_rockbox_RockboxFramebuffer_buttonHandler(JNIEnv*env, jclass class, | |||
84 | } | 85 | } |
85 | 86 | ||
86 | if (!button) | 87 | if (!button) |
87 | { | 88 | { |
88 | button = key_to_button(keycode); | 89 | button = key_to_button(keycode); |
89 | } | 90 | } |
90 | 91 | ||
@@ -103,7 +104,7 @@ Java_org_rockbox_RockboxFramebuffer_buttonHandler(JNIEnv*env, jclass class, | |||
103 | last_btns &= (~button); | 104 | last_btns &= (~button); |
104 | return false; | 105 | return false; |
105 | } | 106 | } |
106 | 107 | ||
107 | return true; | 108 | return true; |
108 | } | 109 | } |
109 | 110 | ||