[sr-dev] git:5.2:25dac9c2: Revert "core: allow pp_define_get to be used by modules"
Sergey Safarov
s.safarov at gmail.com
Sat Mar 30 14:21:10 CET 2019
Module: kamailio
Branch: 5.2
Commit: 25dac9c25bbfecbff2922a2fdf8d9d3e9a11e762
URL: https://github.com/kamailio/kamailio/commit/25dac9c25bbfecbff2922a2fdf8d9d3e9a11e762
Author: Sergey Safarov <s.safarov at gmail.com>
Committer: Sergey Safarov <s.safarov at gmail.com>
Date: 2019-03-30T16:20:23+03:00
Revert "core: allow pp_define_get to be used by modules"
This reverts commit 299dd60a13269c65780e5a31030c323b58bf7784.
---
Modified: src/core/cfg.lex
---
Diff: https://github.com/kamailio/kamailio/commit/25dac9c25bbfecbff2922a2fdf8d9d3e9a11e762.diff
Patch: https://github.com/kamailio/kamailio/commit/25dac9c25bbfecbff2922a2fdf8d9d3e9a11e762.patch
---
diff --git a/src/core/cfg.lex b/src/core/cfg.lex
index 1f7b8de958..6a0d23d76f 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;
- str *pp_define_get(int len, const char * text);
+ static 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;
}
-str *pp_define_get(int len, const char * text)
+static str *pp_define_get(int len, const char * text)
{
str var = {(char *)text, len};
int i;
More information about the sr-dev
mailing list