aboutsummaryrefslogtreecommitdiff
path: root/gcc/c
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/c')
-rw-r--r--gcc/c/c-parser.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/gcc/c/c-parser.h b/gcc/c/c-parser.h
index 56924c0..545f0f4 100644
--- a/gcc/c/c-parser.h
+++ b/gcc/c/c-parser.h
@@ -161,7 +161,7 @@ extern bool old_style_parameter_scope (void);
/* Return true if the next token from PARSER has the indicated
TYPE. */
-static inline bool
+inline bool
c_parser_next_token_is (c_parser *parser, enum cpp_ttype type)
{
return c_parser_peek_token (parser)->type == type;
@@ -170,7 +170,7 @@ c_parser_next_token_is (c_parser *parser, enum cpp_ttype type)
/* Return true if the next token from PARSER does not have the
indicated TYPE. */
-static inline bool
+inline bool
c_parser_next_token_is_not (c_parser *parser, enum cpp_ttype type)
{
return !c_parser_next_token_is (parser, type);
@@ -179,7 +179,7 @@ c_parser_next_token_is_not (c_parser *parser, enum cpp_ttype type)
/* Return true if the next token from PARSER is the indicated
KEYWORD. */
-static inline bool
+inline bool
c_parser_next_token_is_keyword (c_parser *parser, enum rid keyword)
{
return c_parser_peek_token (parser)->keyword == keyword;