diff options
author | Tom Tromey <tromey@adacore.com> | 2020-09-17 08:06:01 -0600 |
---|---|---|
committer | Tom Tromey <tromey@adacore.com> | 2020-09-17 08:06:01 -0600 |
commit | 9519b2eea05637faa380a68fd679a950176de6db (patch) | |
tree | 6612055e8533c1c448e3fda2cfd96a87c21436fd /gdb/c-exp.y | |
parent | dd80eb2cff5c415a6623e144119010917922d1f7 (diff) | |
download | gdb-9519b2eea05637faa380a68fd679a950176de6db.zip gdb-9519b2eea05637faa380a68fd679a950176de6db.tar.gz gdb-9519b2eea05637faa380a68fd679a950176de6db.tar.bz2 |
Make c-exp.y:name_obstack static
c-exp.y:name_obstack is not static, but should be. This patch makes
the change. Tested by rebuilding.
gdb/ChangeLog
2020-09-17 Tom Tromey <tromey@adacore.com>
* c-exp.y (name_obstack): Now static.
Diffstat (limited to 'gdb/c-exp.y')
-rw-r--r-- | gdb/c-exp.y | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/c-exp.y b/gdb/c-exp.y index b03855b..6225217 100644 --- a/gdb/c-exp.y +++ b/gdb/c-exp.y @@ -3013,7 +3013,7 @@ static int popping; /* Temporary storage for c_lex; this holds symbol names as they are built up. */ -auto_obstack name_obstack; +static auto_obstack name_obstack; /* Classify a NAME token. The contents of the token are in `yylval'. Updates yylval and returns the new token type. BLOCK is the block |