diff options
author | Marc Poulhiès <dkm@kataplop.net> | 2021-03-09 21:16:20 +0100 |
---|---|---|
committer | Philip Herron <herron.philip@googlemail.com> | 2021-03-10 09:51:56 +0000 |
commit | b8549556123da80e60922eaa928cfd284f831303 (patch) | |
tree | 605db805ac47695d95b5121d89722dc624ef1a92 /gcc/rust/rust-lang.cc | |
parent | 049d0cba8ed274fb8fc67b4c343505bf06e9c57c (diff) | |
download | gcc-b8549556123da80e60922eaa928cfd284f831303.zip gcc-b8549556123da80e60922eaa928cfd284f831303.tar.gz gcc-b8549556123da80e60922eaa928cfd284f831303.tar.bz2 |
Remove unused header inclusions.
Both headers are not used and trigger warning on DEFHOOK macros redefinitions.
Diffstat (limited to 'gcc/rust/rust-lang.cc')
-rw-r--r-- | gcc/rust/rust-lang.cc | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/gcc/rust/rust-lang.cc b/gcc/rust/rust-lang.cc index e95b5de..00d4e9a 100644 --- a/gcc/rust/rust-lang.cc +++ b/gcc/rust/rust-lang.cc @@ -31,7 +31,6 @@ #include "convert.h" #include "langhooks.h" #include "langhooks-def.h" -#include "common/common-target.h" #include <mpfr.h> // note: header files must be in this order or else forward declarations don't @@ -39,7 +38,7 @@ // seems to mess it up /* Order: config, system, coretypes, target, tree, gimple-expr, diagnostic, * opts, fold-const, gimplify, stor-layout, debug, convert, langhooks, - * langhooks-def, common-target */ + * langhooks-def */ // FIXME: test saving intellisense #include "options.h" @@ -60,8 +59,6 @@ #include "rust-system.h" #include "rust-session-manager.h" -#include "rust-target.h" - // Language-dependent contents of a type. GTY() mark used for garbage collector. struct GTY (()) lang_type { |