From: Igor Olshevskyi Date: Fri, 18 Nov 2016 10:23:36 +0000 (+0200) Subject: [Call UI] Fix build warnings X-Git-Tag: submit/tizen_3.0/20161205.123214~21 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=f57cffcf282ec54e18032f8dc54314f98d909a7e;p=profile%2Fmobile%2Fapps%2Fnative%2Fcall-ui.git [Call UI] Fix build warnings Change-Id: Ib8ed7655059f8cb1f02700df11efe892a8ea3b96 --- diff --git a/inc/callui-common.h b/inc/callui-common.h index 84f3e0c..8ba96e5 100644 --- a/inc/callui-common.h +++ b/inc/callui-common.h @@ -91,8 +91,10 @@ bool _callui_common_is_powerkey_ending_call_mode_on(void); /** * @brief Sets callback on lock state changed + * + * @param[in] user_data User data */ -void _callui_common_set_lock_state_changed_cb(); +void _callui_common_set_lock_state_changed_cb(void *user_data); /** * @brief Unsets callback on lock state changed diff --git a/src/callui-lock-manager.c b/src/callui-lock-manager.c index b896a50..f93f990 100644 --- a/src/callui-lock-manager.c +++ b/src/callui-lock-manager.c @@ -30,9 +30,9 @@ callui_lock_manager_h _callui_lock_manager_create(callui_app_data_t *ad) callui_lock_manager_h lock_h = NULL; if (_callui_common_is_proximity_sensor_supported()) { - lock_h = (callui_lock_manager_h)_callui_proximity_lock_manager_new(ad); + lock_h = (callui_lock_manager_h)_callui_proximity_lock_manager_new(); } else { - lock_h = (callui_lock_manager_h)_callui_touch_lock_manager_new(ad); + lock_h = (callui_lock_manager_h)_callui_touch_lock_manager_new(); } CALLUI_RETURN_NULL_IF_FAIL(lock_h);