1
0
Fork 0
forked from len0rd/rockbox

Android: Fix two warnings

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27975 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Thomas Martitz 2010-09-01 23:36:20 +00:00
parent f05cdc46f2
commit 8ec51135b6
2 changed files with 4 additions and 1 deletions

View file

@ -39,6 +39,7 @@ uintptr_t *stackbegin;
uintptr_t *stackend;
extern int main(void);
extern void powermgmt_init_target(void);
/* this is the entry point of the android app initially called by jni */
JNIEXPORT void JNICALL
Java_org_rockbox_RockboxService_main(JNIEnv *env, jobject this)
@ -56,7 +57,8 @@ Java_org_rockbox_RockboxService_main(JNIEnv *env, jobject this)
RockboxService_instance = this;
RockboxService_class = (*env)->GetObjectClass(env, this);
/* no better place yet, most of powermgmt.c is #ifdef'd out for non-native
* builds */
powermgmt_init_target();
main();
}