]> sjero.net Git - linphone/blobdiff - coreapi/sal.c
update ms2 and cleanup dead function
[linphone] / coreapi / sal.c
index e988a141bb9b5af1c79bdb8d5d819563679e9a6c..1411407a8350228f93d7ac3a324e6ef490c148c5 100644 (file)
@@ -402,7 +402,7 @@ void sal_custom_header_free(SalCustomHeader *ch){
        ms_list_free((MSList *)ch);
 }
 
-SalCustomHeader *sal_custom_header_clone(SalCustomHeader *ch){
+SalCustomHeader *sal_custom_header_clone(const SalCustomHeader *ch){
        const MSList *it;
        SalCustomHeader *ret=NULL;
        for (it=(const MSList*)ch;it!=NULL;it=it->next){