فهرست منبع

pv: include ppcfg.h for pp_define_get()

Daniel-Constantin Mierla 6 سال پیش
والد
کامیت
c46884bc98
1فایلهای تغییر یافته به همراه1 افزوده شده و 2 حذف شده
  1. 1 2
      src/modules/pv/pv_core.c

+ 1 - 2
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);