Module: kamailio Branch: 5.2 Commit: 299dd60a13269c65780e5a31030c323b58bf7784 URL: https://github.com/kamailio/kamailio/commit/299dd60a13269c65780e5a31030c323b58bf7784
Author: lazedo <[email protected]> Committer: Sergey Safarov <[email protected]> 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/299dd60a13269c65780e5a31030c323b58bf7784.diff Patch: https://github.com/kamailio/kamailio/commit/299dd60a13269c65780e5a31030c323b58bf7784.patch --- 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; _______________________________________________ Kamailio (SER) - Development Mailing List [email protected] https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-dev
