diff options
-rwxr-xr-x | src/notification_list.c | 3 | ||||
-rwxr-xr-x | src/notification_shared_file.c | 10 |
2 files changed, 6 insertions, 7 deletions
diff --git a/src/notification_list.c b/src/notification_list.c index 2dc8269..30724cd 100755 --- a/src/notification_list.c +++ b/src/notification_list.c @@ -29,7 +29,6 @@ struct _notification_list { notification_list_h prev; notification_list_h next; - notification_h noti; }; @@ -37,7 +36,7 @@ notification_list_h _notification_list_create(void) { notification_list_h list = NULL; - list = (notification_list_h) malloc(sizeof(struct _notification_list)); + list = (notification_list_h)malloc(sizeof(struct _notification_list)); if (list == NULL) { /* LCOV_EXCL_START */ NOTIFICATION_ERR("Failed to alloc memory"); diff --git a/src/notification_shared_file.c b/src/notification_shared_file.c index 6010b68..9bf91e6 100755 --- a/src/notification_shared_file.c +++ b/src/notification_shared_file.c @@ -182,8 +182,8 @@ static bool __is_RO_file(const char *smack_label) } /* file copy from /res to /data */ -int notification_copy_private_file(const char* src_path, - const char* dst_path) +int notification_copy_private_file(const char *src_path, + const char *dst_path) { int ret = NOTIFICATION_ERROR_NONE; GFile *src = NULL; @@ -336,7 +336,7 @@ static gint __comp_dst_path(gconstpointer a, gconstpointer b) } /* LCOV_EXCL_STOP */ -static sharing_file_info_s * __dup_file_info(sharing_file_info_s *src) +static sharing_file_info_s *__dup_file_info(sharing_file_info_s *src) { sharing_file_info_s *file_info; file_info = (sharing_file_info_s *)calloc(1, sizeof(sharing_file_info_s)); @@ -411,7 +411,7 @@ static void __make_file_info(char *src_path, char *dst_path, } -static GList* __get_new_file_list(notification_h noti, +static GList *__get_new_file_list(notification_h noti, GList *shared_file_list, bool *is_overlapping) { @@ -471,7 +471,7 @@ static GList* __get_new_file_list(notification_h noti, return new_file_list; } -static char* __get_shared_dir(notification_h noti) +static char *__get_shared_dir(notification_h noti) { char *path = NULL; char *dir; |