diff options
author | Tom Tromey <tom@tromey.com> | 2020-11-24 11:50:54 -0700 |
---|---|---|
committer | Tom Tromey <tom@tromey.com> | 2020-11-25 10:10:11 -0700 |
commit | af30c400ea2ae16742ce194f0490fec4170320d5 (patch) | |
tree | 9de52718b333a8c56784dce94062157a20d0fbbe /gdb/d-lang.c | |
parent | 21401fc7bf67dbf73f4a3eda4bcfc58fa4211584 (diff) | |
download | gdb-af30c400ea2ae16742ce194f0490fec4170320d5.zip gdb-af30c400ea2ae16742ce194f0490fec4170320d5.tar.gz gdb-af30c400ea2ae16742ce194f0490fec4170320d5.tar.bz2 |
Do not include parser-defs.h from c-lang.h
While working on another series, I noticed that c-lang.h does not need
to include parser-defs.h. This patch makes this change, and fixes up
the two .c files that needed this include. Tested by rebuilding.
gdb/ChangeLog
2020-11-25 Tom Tromey <tom@tromey.com>
* d-lang.c: Include parser-defs.h.
* rust-lang.c: Include parser-defs.h.
* c-lang.h: Do not include parser-defs.h.
Diffstat (limited to 'gdb/d-lang.c')
-rw-r--r-- | gdb/d-lang.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/gdb/d-lang.c b/gdb/d-lang.c index 2e7b7b6..97cc106 100644 --- a/gdb/d-lang.c +++ b/gdb/d-lang.c @@ -26,6 +26,7 @@ #include "demangle.h" #include "cp-support.h" #include "gdbarch.h" +#include "parser-defs.h" /* The name of the symbol to use to get the name of the main subprogram. */ static const char D_MAIN[] = "D main"; |