Fix an implicit declaration warning.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29930 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
bc3f9c1b71
commit
d7d830fa08
1 changed files with 3 additions and 2 deletions
|
@ -28,6 +28,7 @@
|
||||||
#include "kernel.h"
|
#include "kernel.h"
|
||||||
#include "system.h"
|
#include "system.h"
|
||||||
#include "touchscreen.h"
|
#include "touchscreen.h"
|
||||||
|
#include "powermgmt.h"
|
||||||
|
|
||||||
extern JNIEnv *env_ptr;
|
extern JNIEnv *env_ptr;
|
||||||
static int last_y, last_x;
|
static int last_y, last_x;
|
||||||
|
@ -84,7 +85,7 @@ Java_org_rockbox_RockboxFramebuffer_buttonHandler(JNIEnv*env, jclass class,
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!button)
|
if (!button)
|
||||||
{
|
{
|
||||||
button = key_to_button(keycode);
|
button = key_to_button(keycode);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -103,7 +104,7 @@ Java_org_rockbox_RockboxFramebuffer_buttonHandler(JNIEnv*env, jclass class,
|
||||||
last_btns &= (~button);
|
last_btns &= (~button);
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue