[sr-dev] git:master:c46884bc: pv: include ppcfg.h for pp_define_get()

Daniel-Constantin Mierla miconda at gmail.com
Thu Jan 24 15:55:22 CET 2019


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

Author: Daniel-Constantin Mierla <miconda at gmail.com>
Committer: Daniel-Constantin Mierla <miconda at gmail.com>
Date: 2019-01-24T15:54:33+01:00

pv: include ppcfg.h for pp_define_get()

---

Modified: src/modules/pv/pv_core.c

---

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

---

diff --git a/src/modules/pv/pv_core.c b/src/modules/pv/pv_core.c
index 2e54253eb4..0419641efd 100644
--- a/src/modules/pv/pv_core.c
+++ b/src/modules/pv/pv_core.c
@@ -32,6 +32,7 @@
 #include "../../core/strutils.h"
 #include "../../core/tcp_conn.h"
 #include "../../core/pvapi.h"
+#include "../../core/ppcfg.h"
 #include "../../core/trim.h"
 #include "../../core/msg_translator.h"
 
@@ -3671,8 +3672,6 @@ int pv_parse_def_name(pv_spec_p sp, str *in)
 
 }
 
-extern str *pp_define_get(int len, const char * text);
-
 int pv_get_def(sip_msg_t *msg, pv_param_t *param, pv_value_t *res)
 {
 	str *val = pp_define_get(param->pvn.u.isname.name.s.len, param->pvn.u.isname.name.s.s);




More information about the sr-dev mailing list