浏览代码

ims_usrloc_scscf: remove inline to functions that break the symbol linking

Daniel-Constantin Mierla 7 年之前
父节点
当前提交
5b35d7e372
共有 2 个文件被更改,包括 2 次插入2 次删除
  1. 1 1
      src/modules/ims_usrloc_scscf/impurecord.c
  2. 1 1
      src/modules/ims_usrloc_scscf/usrloc_db.c

+ 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)