[Libreoffice-commits] core.git: include/osl sal/android

Tor Lillqvist tml at collabora.com
Sun Oct 13 11:25:12 PDT 2013


 include/osl/detail/android-bootstrap.h |    4 ----
 sal/android/lo-bootstrap.c             |   12 ------------
 2 files changed, 16 deletions(-)

New commits:
commit c24855bc6a3a94846094c0714a477a299a60280d
Author: Tor Lillqvist <tml at collabora.com>
Date:   Sun Oct 13 20:00:18 2013 +0300

    lo_dlcall_argc_argv() is unused
    
    Change-Id: I318bb78b148564f64373dcb87bfb458c10f87489

diff --git a/include/osl/detail/android-bootstrap.h b/include/osl/detail/android-bootstrap.h
index 626447f..71b4072 100644
--- a/include/osl/detail/android-bootstrap.h
+++ b/include/osl/detail/android-bootstrap.h
@@ -34,10 +34,6 @@ int lo_apk_closedir(lo_apk_dir *dirp);
 
 int lo_apk_lstat(const char *path, struct stat *statp);
 
-int lo_dlcall_argc_argv(void *function,
-                        int argc,
-                        const char **argv);
-
 JavaVM *lo_get_javavm(void);
 
 const char *lo_get_app_data_dir(void);
diff --git a/sal/android/lo-bootstrap.c b/sal/android/lo-bootstrap.c
index 07df1ac..c43d3ba 100644
--- a/sal/android/lo-bootstrap.c
+++ b/sal/android/lo-bootstrap.c
@@ -631,18 +631,6 @@ lo_apk_lstat(const char *path,
     return -1;
 }
 
-__attribute__ ((visibility("default")))
-int
-lo_dlcall_argc_argv(void *function,
-                    int argc,
-                    const char **argv)
-{
-    int (*fp)(int, const char **) = function;
-    int result = fp(argc, argv);
-
-    return result;
-}
-
 #define UNPACK_TREE "/assets/unpack"
 #define UNPACK_TREE_GZ "/assets/gz.unpack"
 


More information about the Libreoffice-commits mailing list