[sr-dev] git:master:0f791078: db_perlvdb: fixed warning of using static function inside inline one

Daniel-Constantin Mierla miconda at gmail.com
Sun Sep 18 11:24:05 CEST 2016


Module: kamailio
Branch: master
Commit: 0f791078260f2ccfd22a268831fb8dcfb00b24f3
URL: https://github.com/kamailio/kamailio/commit/0f791078260f2ccfd22a268831fb8dcfb00b24f3

Author: Daniel-Constantin Mierla <miconda at gmail.com>
Committer: Daniel-Constantin Mierla <miconda at gmail.com>
Date: 2016-09-18T09:16:57+02:00

db_perlvdb: fixed warning of using static function inside inline one

---

Modified: modules/db_perlvdb/perlvdbfunc.c

---

Diff:  https://github.com/kamailio/kamailio/commit/0f791078260f2ccfd22a268831fb8dcfb00b24f3.diff
Patch: https://github.com/kamailio/kamailio/commit/0f791078260f2ccfd22a268831fb8dcfb00b24f3.patch

---

diff --git a/modules/db_perlvdb/perlvdbfunc.c b/modules/db_perlvdb/perlvdbfunc.c
index 041baae..9dc27ce 100644
--- a/modules/db_perlvdb/perlvdbfunc.c
+++ b/modules/db_perlvdb/perlvdbfunc.c
@@ -37,7 +37,7 @@
  * including decreasing ref cnt
  */
 
-inline long IV2int(SV *in) {
+long IV2int(SV *in) {
 	int ret = -1;
 
 	if (SvOK(in)) {




More information about the sr-dev mailing list