Module: kamailio
Branch: 5.2
Commit: 299dd60a13269c65780e5a31030c323b58bf7784
URL:
https://github.com/kamailio/kamailio/commit/299dd60a13269c65780e5a31030c323…
Author: lazedo <luis.azedo(a)factorlusitano.com>
Committer: Sergey Safarov <s.safarov(a)gmail.com>
Date: 2019-03-30T15:08:50+03:00
core: allow pp_define_get to be used by modules
---
Modified: src/core/cfg.lex
---
Diff:
https://github.com/kamailio/kamailio/commit/299dd60a13269c65780e5a31030c323…
Patch:
https://github.com/kamailio/kamailio/commit/299dd60a13269c65780e5a31030c323…
---
diff --git a/src/core/cfg.lex b/src/core/cfg.lex
index 6a0d23d76f..1f7b8de958 100644
--- a/src/core/cfg.lex
+++ b/src/core/cfg.lex
@@ -113,7 +113,7 @@
struct sr_yy_fname *next;
} *sr_yy_fname_list = 0;
- static str *pp_define_get(int len, const char * text);
+ str *pp_define_get(int len, const char * text);
static int pp_ifdef_type(int pos);
static void pp_ifdef_var(int len, const char * text);
static void pp_ifdef();
@@ -1854,7 +1854,7 @@ int pp_define_set(int len, char *text)
return 0;
}
-static str *pp_define_get(int len, const char * text)
+str *pp_define_get(int len, const char * text)
{
str var = {(char *)text, len};
int i;