diff options
author | Minje Ahn <minje.ahn@samsung.com> | 2019-05-22 12:47:20 +0900 |
---|---|---|
committer | Minje Ahn <minje.ahn@samsung.com> | 2019-05-22 15:29:14 +0900 |
commit | d1457f11013b030e17ee037c089722b2c7f35893 (patch) | |
tree | e07f70d9d2819f32dca505bfac2a9ca67424aeda /src/include/common | |
parent | bec5a260db6a66987d1ec4ac444b4a01b422ccf0 (diff) | |
download | libmedia-service-d1457f11013b030e17ee037c089722b2c7f35893.tar.gz libmedia-service-d1457f11013b030e17ee037c089722b2c7f35893.tar.bz2 libmedia-service-d1457f11013b030e17ee037c089722b2c7f35893.zip |
Delete unused parameter
Change-Id: I6d654025526ac6fd1dbe3f526960af1ed34826f8
Signed-off-by: Minje Ahn <minje.ahn@samsung.com>
Diffstat (limited to 'src/include/common')
-rwxr-xr-x | src/include/common/media-svc-media.h | 2 | ||||
-rwxr-xr-x | src/include/common/media-svc-util.h | 11 |
2 files changed, 3 insertions, 10 deletions
diff --git a/src/include/common/media-svc-media.h b/src/include/common/media-svc-media.h index 8af8487..c36861b 100755 --- a/src/include/common/media-svc-media.h +++ b/src/include/common/media-svc-media.h @@ -30,7 +30,7 @@ int _media_svc_count_record_with_path(sqlite3 *handle, const char *storage_id, const char *path, int *count); int _media_svc_get_modified_time(sqlite3 *handle, const char *storage_id, const char *path, int *modified_time); -int _media_svc_insert_item_with_data(sqlite3 *handle, bool is_direct, const char *storage_id, media_svc_content_info_s *content_info, bool stack_query, uid_t uid); +int _media_svc_insert_item_with_data(bool is_direct, const char *storage_id, media_svc_content_info_s *content_info, bool stack_query, uid_t uid); int _media_svc_update_item_with_data(bool is_direct, const char *storage_id, media_svc_content_info_s *content_info, uid_t uid); int _media_svc_get_thumbnail_path_by_path(sqlite3 *handle, const char *path, char *thumbnail_path); int _media_svc_get_media_type_by_path(sqlite3 *handle, const char *storage_id, const char *path, int *media_type); diff --git a/src/include/common/media-svc-util.h b/src/include/common/media-svc-util.h index c92e1b2..6884d39 100755 --- a/src/include/common/media-svc-util.h +++ b/src/include/common/media-svc-util.h @@ -34,17 +34,10 @@ extern "C" { #endif -#ifndef FALSE -#define FALSE 0 -#endif -#ifndef TRUE -#define TRUE 1 -#endif - #define SAFE_FREE(src) { if (src) {free(src); src = NULL; } } #define G_SAFE_FREE(src) { if (src) {g_free(src); src = NULL; } } #define STRING_VALID(str) \ - ((str != NULL && strlen(str) > 0) ? TRUE : FALSE) + ((str != NULL && strlen(str) > 0) ? true : false) #define SAFE_STRLCAT(dst, src, n) g_strlcat(dst, src, n); #define SAFE_STRLCPY(dst, src, n) g_strlcpy(dst, src, n); @@ -148,7 +141,7 @@ int _media_svc_get_pinyin_str(const char *src_str, char **pinyin_str); bool _media_svc_check_pinyin_support(void); int _media_svc_extract_music_metadata_for_update(media_svc_content_info_s *content_info, media_svc_media_type_e media_type); int _media_svc_get_media_type(const char *path, int *mediatype); -bool _media_svc_check_storage_type(ms_user_storage_type_e storage_type); +bool _media_svc_is_valid_storage_type(ms_user_storage_type_e storage_type); #ifdef __cplusplus } |