glcpp: Add static keyword to several functions in the parser.
This quiets warnings about missing declarations otherwise.
diff --git a/src/glsl/glcpp/glcpp-parse.y b/src/glsl/glcpp/glcpp-parse.y
index a2b54ef..c37c9bc 100644
--- a/src/glsl/glcpp/glcpp-parse.y
+++ b/src/glsl/glcpp/glcpp-parse.y
@@ -692,7 +692,7 @@
list->non_space_tail = tail->non_space_tail;
}
-token_list_t *
+static token_list_t *
_token_list_copy (void *ctx, token_list_t *other)
{
token_list_t *copy;
@@ -708,7 +708,7 @@
return copy;
}
-void
+static void
_token_list_trim_trailing_space (token_list_t *list)
{
token_node_t *tail, *next;
@@ -1410,7 +1410,7 @@
_token_list_print (parser, list);
}
-void
+static void
_check_for_reserved_macro_name (glcpp_parser_t *parser, YYLTYPE *loc,
const char *identifier)
{