Module: kamailio
Branch: 5.1
Commit: 85a46bdd92963589f3d3575e8c3c2d33597bae38
URL:
https://github.com/kamailio/kamailio/commit/85a46bdd92963589f3d3575e8c3c2d3…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Committer: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: 2017-12-09T13:58:45+01:00
ims_usrloc_scscf: remove inline to functions that break the symbol linking
(cherry picked from commit 5b35d7e372a0c0fb8d0047eb952066939cd98463)
---
Modified: src/modules/ims_usrloc_scscf/impurecord.c
Modified: src/modules/ims_usrloc_scscf/usrloc_db.c
---
Diff:
https://github.com/kamailio/kamailio/commit/85a46bdd92963589f3d3575e8c3c2d3…
Patch:
https://github.com/kamailio/kamailio/commit/85a46bdd92963589f3d3575e8c3c2d3…
---
diff --git a/src/modules/ims_usrloc_scscf/impurecord.c
b/src/modules/ims_usrloc_scscf/impurecord.c
index 9756424cc2..9cee5bc765 100644
--- a/src/modules/ims_usrloc_scscf/impurecord.c
+++ b/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
diff --git a/src/modules/ims_usrloc_scscf/usrloc_db.c
b/src/modules/ims_usrloc_scscf/usrloc_db.c
index 2a25d90647..e1a7d4287e 100644
--- a/src/modules/ims_usrloc_scscf/usrloc_db.c
+++ b/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)