Module: kamailio
Branch: master
Commit: 373e99fd593814b55b307d0dc4a29e0c53f34850
URL:
https://github.com/kamailio/kamailio/commit/373e99fd593814b55b307d0dc4a29e0…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Committer: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: 2017-12-10T09:21:52+01:00
db_berkeley: removed inline declaration that break the linking
---
Modified: src/modules/db_berkeley/bdb_lib.c
Modified: src/modules/db_berkeley/km_bdb_val.c
---
Diff:
https://github.com/kamailio/kamailio/commit/373e99fd593814b55b307d0dc4a29e0…
Patch:
https://github.com/kamailio/kamailio/commit/373e99fd593814b55b307d0dc4a29e0…
---
diff --git a/src/modules/db_berkeley/bdb_lib.c b/src/modules/db_berkeley/bdb_lib.c
index bded92e764..4b109dde3b 100644
--- a/src/modules/db_berkeley/bdb_lib.c
+++ b/src/modules/db_berkeley/bdb_lib.c
@@ -972,7 +972,7 @@ int load_metadata_defaults(bdb_table_p _tp)
return 0;
}
-inline int bdb_int2str(int _v, char* _s, int* _l)
+int bdb_int2str(int _v, char* _s, int* _l)
{
int ret;
@@ -991,7 +991,7 @@ inline int bdb_int2str(int _v, char* _s, int* _l)
return 0;
}
-inline int bdb_double2str(double _v, char* _s, int* _l)
+int bdb_double2str(double _v, char* _s, int* _l)
{
int ret;
@@ -1010,7 +1010,7 @@ inline int bdb_double2str(double _v, char* _s, int* _l)
return 0;
}
-inline int bdb_time2str(time_t _v, char* _s, int* _l)
+int bdb_time2str(time_t _v, char* _s, int* _l)
{
struct tm* t;
int l;
diff --git a/src/modules/db_berkeley/km_bdb_val.c b/src/modules/db_berkeley/km_bdb_val.c
index 6689be7cdb..c5bbfe8d9d 100644
--- a/src/modules/db_berkeley/km_bdb_val.c
+++ b/src/modules/db_berkeley/km_bdb_val.c
@@ -48,7 +48,7 @@
* should be done in the val2str function, as some databases
* like db_berkeley don't need or like this at all.
*/
-inline int km_bdb_time2str(time_t _v, char* _s, int* _l)
+int km_bdb_time2str(time_t _v, char* _s, int* _l)
{
struct tm* t;
int l;