Reduce file size
authorHyunbin Lee <hyunbin.lee@samsung.com>
Mon, 4 Nov 2013 07:41:57 +0000 (16:41 +0900)
committerHyunbin Lee <hyunbin.lee@samsung.com>
Mon, 4 Nov 2013 07:41:57 +0000 (16:41 +0900)
Change-Id: I987147db60cb9591c0965580fe0549dd60dfd298
Signed-off-by: Hyunbin Lee <hyunbin.lee@samsung.com>
src/osp-env-config.c

index ded97d7..b42c102 100644 (file)
@@ -210,7 +210,7 @@ static int
 mount_native_paths(const char* app_rootpath)
 {
        int i = 0;
-       static const struct _path_info mount_info[] =
+       const struct _path_info mount_info[] =
        {
                //{ "/bin",                             "./bin" },
                { "/csa",                               "./csa" },
@@ -271,7 +271,7 @@ mount_osp_internal_paths(const char* app_rootpath, const char* pkgid)
                { "\0", "./data/Share" },
                { "\0", "./data/Share2" }
        };
-       static const struct _path_info mount_info2[] =
+       const struct _path_info mount_info2[] =
        {
                { "/opt/usr/share/.osp-compat/share",   "./Share" },
                { "/opt/usr/share/.osp-compat/share2",  "./Share2" },
@@ -333,7 +333,7 @@ static int
 mount_linux_paths(const char* app_rootpath)
 {
        int i = 0;
-       static const struct _path_info mount_info[] =
+       const struct _path_info mount_info[] =
        {
                { "/bin",                               "./bin" },
                { "/csa",                               "./csa" },
@@ -410,7 +410,7 @@ create_osp_external_paths(const char* app_rootpath, const char* pkgid)
        char osp_ext_apps_pkgid_share2_path[PATH_MAX] = {0, };
        char osp_ext_share_pkgid_path[PATH_MAX] = {0, };
        char osp_ext_share2_pkgid_path[PATH_MAX] = {0, };
-       static const struct _dir_info external_dirs1[] =
+       const struct _dir_info external_dirs1[] =
        {
                { "./HomeExt",          0000,   0 },
                { "./ShareExt",         0000,   0 },