diff --git a/mpmaster/src/main/cpp/CMakeLists.txt b/mpmaster/src/main/cpp/CMakeLists.txt index bd889851..5de4b4be 100644 --- a/mpmaster/src/main/cpp/CMakeLists.txt +++ b/mpmaster/src/main/cpp/CMakeLists.txt @@ -50,7 +50,9 @@ add_library( # Sets the name of the library. SHARED # Provides a relative path to your source file(s). - mpmaster.cpp ) + mpmaster.cpp + + ) # Searches for a specified prebuilt library and stores the path as a # variable. Because CMake includes system libraries in the search path by diff --git a/mpmaster/src/main/cpp/mpmaster.cpp b/mpmaster/src/main/cpp/mpmaster.cpp index 8257e219..3af8e78a 100644 --- a/mpmaster/src/main/cpp/mpmaster.cpp +++ b/mpmaster/src/main/cpp/mpmaster.cpp @@ -36,7 +36,7 @@ #define PATH_MPAPP_STATS "/sdcard/com.xypower.mpapp/data/stats/" #define PATH_MPAPP_RUNNING "/sdcard/com.xypower.mpapp/running" -extern int bspatch_main(int argc,char * argv[]); +int bspatch_main(int argc,char * argv[]); typedef struct {