Commit 2150ce6f authored by Ghislain MARY's avatar Ghislain MARY
Browse files

Add missing const to linphone_core_get_user_data signature.

parent f4ec25eb
......@@ -5375,7 +5375,7 @@ void linphone_core_stop_dtmf(LinphoneCore *lc){
*
* @ingroup initializing
**/
void *linphone_core_get_user_data(LinphoneCore *lc){
void *linphone_core_get_user_data(const LinphoneCore *lc){
return lc->data;
}
......
......@@ -2593,7 +2593,7 @@ LINPHONE_PUBLIC void linphone_core_enable_keep_alive(LinphoneCore* lc,bool_t ena
*/
LINPHONE_PUBLIC bool_t linphone_core_keep_alive_enabled(LinphoneCore* lc);
LINPHONE_PUBLIC void *linphone_core_get_user_data(LinphoneCore *lc);
LINPHONE_PUBLIC void *linphone_core_get_user_data(const LinphoneCore *lc);
LINPHONE_PUBLIC void linphone_core_set_user_data(LinphoneCore *lc, void *userdata);
/* returns LpConfig object to read/write to the config file: usefull if you wish to extend
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment