Main: inline mpd_main() on Android

This commit is contained in:
Max Kellermann 2014-03-01 19:09:31 +01:00
parent 58771fc41c
commit 14168eadb2
2 changed files with 7 additions and 0 deletions

View File

@ -386,6 +386,9 @@ int main(int argc, char *argv[])
#endif
#ifdef ANDROID
static inline
#endif
int mpd_main(int argc, char *argv[])
{
struct options options;

View File

@ -25,6 +25,8 @@ struct Instance;
extern Instance *instance;
#ifndef ANDROID
/**
* A entry point for application.
* On non-Windows platforms this is called directly from main()
@ -33,6 +35,8 @@ extern Instance *instance;
*/
int mpd_main(int argc, char *argv[]);
#endif
#ifdef WIN32
/**