Fix 'undeclaration' build due to parameter mismatch 45/197745/2
authorjiyong.min <jiyong.min@samsung.com>
Wed, 16 Jan 2019 05:13:44 +0000 (14:13 +0900)
committerjiyong.min <jiyong.min@samsung.com>
Wed, 16 Jan 2019 05:20:26 +0000 (14:20 +0900)
Change-Id: I72212d95ac08ba4182fe36496514155bd1d7e236

src/server/include/media-server-socket.h
src/server/media-server-main.c

index f8efb11..b4b06be 100755 (executable)
@@ -36,7 +36,7 @@ int ms_remove_request_owner(int pid, const char *req_path);
 int ms_send_storage_otg_scan_request(const char *path, const char *device_uuid, ms_dir_scan_type_t scan_type, uid_t uid);
 int ms_reset_ownerlist();
 #ifdef _USE_SENIOR_MODE
-int ms_send_storage_scan_request_senior_mode(void **handle);
+int ms_send_storage_scan_request_senior_mode(sqlite3 *handle);
 #endif
 
 #endif /*_MEDIA_SERVER_SOCKET_H_*/
index e233481..0e5bf66 100755 (executable)
@@ -729,7 +729,7 @@ static void __ms_check_mediadb(void)
 #ifndef _USE_MULTI_USER
        uid_t uid = MEDIA_DEFAULT_UID;
 
-       void **db_handle = NULL;
+       sqlite3 *db_handle = NULL;
        int ret = MS_MEDIA_ERR_NONE;
 
        ret = ms_load_functions();