Browse code

db_berkeley: removed inline declaration that break the linking

(cherry picked from commit 373e99fd593814b55b307d0dc4a29e0c53f34850)

Daniel-Constantin Mierla authored on 10/12/2017 08:21:52
Showing 2 changed files
... ...
@@ -972,7 +972,7 @@ int load_metadata_defaults(bdb_table_p _tp)
972 972
 	return 0;
973 973
 }
974 974
 
975
-inline int bdb_int2str(int _v, char* _s, int* _l)
975
+int bdb_int2str(int _v, char* _s, int* _l)
976 976
 {
977 977
 	int ret;
978 978
 
... ...
@@ -991,7 +991,7 @@ inline int bdb_int2str(int _v, char* _s, int* _l)
991 991
 	return 0;
992 992
 }
993 993
 
994
-inline int bdb_double2str(double _v, char* _s, int* _l)
994
+int bdb_double2str(double _v, char* _s, int* _l)
995 995
 {
996 996
 	int ret;
997 997
 
... ...
@@ -1010,7 +1010,7 @@ inline int bdb_double2str(double _v, char* _s, int* _l)
1010 1010
 	return 0;
1011 1011
 }
1012 1012
 
1013
-inline int bdb_time2str(time_t _v, char* _s, int* _l)
1013
+int bdb_time2str(time_t _v, char* _s, int* _l)
1014 1014
 {
1015 1015
 	struct tm* t;
1016 1016
 	int l;
... ...
@@ -48,7 +48,7 @@
48 48
  * should be done in the val2str function, as some databases
49 49
  * like db_berkeley don't need or like this at all.
50 50
  */
51
-inline int km_bdb_time2str(time_t _v, char* _s, int* _l)
51
+int km_bdb_time2str(time_t _v, char* _s, int* _l)
52 52
 {
53 53
 	struct tm* t;
54 54
 	int l;