summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjungkon.kim <jungkon.kim@samsung.com>2017-07-26 16:28:39 +0900
committerjungkon.kim <jungkon.kim@samsung.com>2017-08-09 10:29:10 +0900
commit6b47de4390b47a20554c918ca6491c6e8e9565aa (patch)
tree869f6365bca59f979f850ea4fb78d29096bd4ee0
parentd8213e41581c31aa7fc73dd0a049fcfee9a73828 (diff)
downloadprivacy-setting-6b47de4390b47a20554c918ca6491c6e8e9565aa.tar.gz
privacy-setting-6b47de4390b47a20554c918ca6491c6e8e9565aa.tar.bz2
privacy-setting-6b47de4390b47a20554c918ca6491c6e8e9565aa.zip
tizen coding rule check
Change-Id: I8feda2b07731aa0e53e2840d11ceb53faa639c5c
-rw-r--r--ui/src/privacy_guard_package_list_view.c7
1 files changed, 3 insertions, 4 deletions
diff --git a/ui/src/privacy_guard_package_list_view.c b/ui/src/privacy_guard_package_list_view.c
index 94d1615..e03cf9e 100644
--- a/ui/src/privacy_guard_package_list_view.c
+++ b/ui/src/privacy_guard_package_list_view.c
@@ -60,7 +60,7 @@ int init_pg_data_list(void)
return SUCCESS;
}
-int add_pg_data(const char *package_id, const int count, time_t time, const int monitor_policy)
+int add_pg_data(const char *package_id, const int count, const time_t time, const int monitor_policy)
{
pg_data_list *node = (pg_data_list *)malloc(sizeof(pg_data_list) * 1);
if (node == NULL) {
@@ -170,6 +170,7 @@ static int _create_privacy_guard_item_list(void)
return SUCCESS;
}
+
static void _free_privacy_guard_item_list(void)
{
@@ -292,7 +293,7 @@ static Evas_Object* _gl_content_get_cb(void *data, Evas_Object *obj, const char
return NULL;
}
-static bool _privacy_package_info_cb(const char *package_id, const int count, time_t time, const int monitor_policy, void *user_data)
+static bool _privacy_package_info_cb(const char *package_id, const int count, const time_t time, const int monitor_policy, void *user_data)
{
if (add_pg_data(package_id, count, time, monitor_policy) == FAIL) {
LOGE("add_pg_data() is failed.");
@@ -394,7 +395,6 @@ void create_privacy_guard_package_list_view(struct app_data_s *ad)
LOGE("Failed to allocate memory");
return;
}
-
// package label
res = pkgmgrinfo_pkginfo_get_pkginfo(item->pkg_id, &handle);
if (res != PMINFO_R_OK) {
@@ -417,7 +417,6 @@ void create_privacy_guard_package_list_view(struct app_data_s *ad)
LOGE("Failed to allocate memory");
return;
}
-
// description - e.g.) 25/08/2010 01:30 PM 21 time(s)
if (data->time > 0) {
localtime_r(&data->time, &timeinfo);