Fix a bug by wrong declaration 47/199547/1
authorhyunuktak <hyunuk.tak@samsung.com>
Wed, 13 Feb 2019 02:18:01 +0000 (11:18 +0900)
committerhyunuktak <hyunuk.tak@samsung.com>
Wed, 13 Feb 2019 02:18:04 +0000 (11:18 +0900)
Change-Id: I36a3cef3e79267dbb7fcb8068c30f9add0e6c4fb
Signed-off-by: hyunuktak <hyunuk.tak@samsung.com>
plugin/firewall/stc-plugin-firewall.c
src/stc-manager-plugin-firewall.c

index 2b13d62..6a497cc 100755 (executable)
@@ -1271,7 +1271,7 @@ int stc_plugin_firewall_get_lock(int *state)
        return STC_ERROR_NONE;
 }
 
-API int stc_plugin_firewall_update(void)
+int stc_plugin_firewall_update(void)
 {
        __fw_chain_foreach(__fw_foreach_to_add_chain, NULL);
        __fw_chain_foreach(__fw_foreach_to_set_rule_to_chain, NULL);
index cc423f5..adb87fb 100755 (executable)
@@ -117,7 +117,7 @@ int stc_plugin_firewall_get_lock(int *state)
        return stc_plugin->get_lock_firewall(state);
 }
 
-int stc_plugin_firewall_update(void)
+API int stc_plugin_firewall_update(void)
 {
        if (!stc_plugin_enabled) {
                if (STC_DEBUG_LOG)