From: jiyong.min Date: Thu, 5 Dec 2019 05:00:50 +0000 (+0900) Subject: Remove unused functions X-Git-Tag: accepted/tizen/unified/20191227.142821~1 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=20521337d5e73090a4a1ab03071f58d875e502f4;p=platform%2Fcore%2Fmultimedia%2Flibmm-fileinfo.git Remove unused functions Change-Id: Ib7ccc1e9da5c9793d0b2169c502e3df82e79a947 --- diff --git a/packaging/libmm-fileinfo.spec b/packaging/libmm-fileinfo.spec index 680df64..721f9e7 100644 --- a/packaging/libmm-fileinfo.spec +++ b/packaging/libmm-fileinfo.spec @@ -1,6 +1,6 @@ Name: libmm-fileinfo Summary: Media Fileinfo -Version: 0.6.80 +Version: 0.6.81 Release: 1 Group: System/Libraries License: Apache-2.0 diff --git a/utils/Makefile.am b/utils/Makefile.am index 652d46c..57af938 100755 --- a/utils/Makefile.am +++ b/utils/Makefile.am @@ -10,7 +10,6 @@ libmmfile_utils_la_SOURCES = mm_file_util_memory.c \ mm_file_util_print.c \ mm_file_util_mime.c \ mm_file_util_string.c \ - mm_file_util_list.c \ mm_file_util_locale.c \ mm_file_util_validity.c \ mm_file_util_tag.c diff --git a/utils/include/mm_file_utils.h b/utils/include/mm_file_utils.h index 48935e5..fcfccd9 100755 --- a/utils/include/mm_file_utils.h +++ b/utils/include/mm_file_utils.h @@ -207,27 +207,6 @@ typedef enum { int mmfile_util_image_convert(unsigned char *src, eMMFilePixelFormat src_fmt, int src_width, int src_height, unsigned char *dst, eMMFilePixelFormat dst_fmt, int dst_width, int dst_height); -/*////////////////////////////////////////////////////////////////////// */ -/* DATA STRUCTURE API // */ -/*////////////////////////////////////////////////////////////////////// */ -typedef void *MMFileList; -MMFileList mmfile_list_alloc(); -MMFileList mmfile_list_append(MMFileList list, void *data); -MMFileList mmfile_list_prepend(MMFileList list, void *data); -MMFileList mmfile_list_find(MMFileList list, void *data); -MMFileList mmfile_list_first(MMFileList list); -MMFileList mmfile_list_last(MMFileList list); -MMFileList mmfile_list_nth(MMFileList list, unsigned int n); -MMFileList mmfile_list_next(MMFileList list); -MMFileList mmfile_list_previous(MMFileList list); -unsigned int mmfile_list_length(MMFileList list); -MMFileList mmfile_list_remove(MMFileList list, void *data); -MMFileList mmfile_list_remove_all(MMFileList list, void *data); -MMFileList mmfile_list_reverse(MMFileList list); -void mmfile_list_free(MMFileList list); - - - #ifdef __MMFILE_MEM_TRACE__ /*////////////////////////////////////////////////////////////////////// */ /* MEMORY DEBUG API // */ diff --git a/utils/mm_file_util_list.c b/utils/mm_file_util_list.c deleted file mode 100755 index 896c1e7..0000000 --- a/utils/mm_file_util_list.c +++ /dev/null @@ -1,110 +0,0 @@ -/* - * libmm-fileinfo - * - * Copyright (c) 2000 - 2011 Samsung Electronics Co., Ltd. All rights reserved. - * - * Contact: Haejeong Kim - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * - */ - -#include -#include "mm_file_debug.h" -#include "mm_file_utils.h" - -EXPORT_API -MMFileList mmfile_list_alloc() -{ - return g_list_alloc(); -} - -EXPORT_API -MMFileList mmfile_list_append(MMFileList list, void *data) -{ - return g_list_append(list, data); -} - -EXPORT_API -MMFileList mmfile_list_prepend(MMFileList list, void *data) -{ - return g_list_prepend(list, data); -} - -EXPORT_API -MMFileList mmfile_list_find(MMFileList list, void *data) -{ - return g_list_find(list, data); -} - -EXPORT_API -MMFileList mmfile_list_first(MMFileList list) -{ - return g_list_first(list); -} - -EXPORT_API -MMFileList mmfile_list_last(MMFileList list) -{ - return g_list_last(list); -} - -EXPORT_API -MMFileList mmfile_list_nth(MMFileList list, unsigned int n) -{ - return g_list_nth(list, n); -} - -EXPORT_API -MMFileList mmfile_list_next(MMFileList list) -{ - return g_list_next(list); -} - -EXPORT_API -MMFileList mmfile_list_previous(MMFileList list) -{ - return g_list_previous(list); -} - -EXPORT_API -unsigned int mmfile_list_length(MMFileList list) -{ - return g_list_length(list); -} - -EXPORT_API -MMFileList mmfile_list_remove(MMFileList list, void *data) -{ - return g_list_remove(list, data); -} - -EXPORT_API -MMFileList mmfile_list_remove_all(MMFileList list, void *data) -{ - return g_list_remove_all(list, data); -} - - -EXPORT_API -MMFileList mmfile_list_reverse(MMFileList list) -{ - return g_list_reverse(list); -} - -EXPORT_API -void mmfile_list_free(MMFileList list) -{ - g_list_free(list); -} -