Parcourir la source

ims_usrloc_scscf: remove inline to functions that break the symbol linking

Daniel-Constantin Mierla il y a 7 ans
Parent
commit
5b35d7e372

+ 1 - 1
src/modules/ims_usrloc_scscf/impurecord.c

@@ -606,7 +606,7 @@ int delete_scontact(struct ucontact* _c) {
 }
 
 /* function to convert contact aor to only have data after @ - ie strip user part */
-inline int aor_to_contact(str* aor, str* contact) {
+int aor_to_contact(str* aor, str* contact) {
     char* p;
     int ret = 0; //success
 

+ 1 - 1
src/modules/ims_usrloc_scscf/usrloc_db.c

@@ -505,7 +505,7 @@ int db_delete_subscriber(impurecord_t* _r, reg_subscriber* _reg_subscriber) {
 }
 
 
-int inline int_to_str_len(int i) {
+int int_to_str_len(int i) {
 	if (i < 0)
 		i = -i;
 	if (i < 10)