Explorar o código

Revert "core: allow pp_define_get to be used by modules"

This reverts commit 299dd60a13269c65780e5a31030c323b58bf7784.
Sergey Safarov %!s(int64=6) %!d(string=hai) anos
pai
achega
25dac9c25b
Modificáronse 1 ficheiros con 2 adicións e 2 borrados
  1. 2 2
      src/core/cfg.lex

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