From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 2126) id 298E73858028; Thu, 19 Jan 2023 18:09:59 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 298E73858028 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1674151799; bh=xBEK40JD0vnTXNt9y94WeMHRtK1pv/XLpTdXNFYtgHo=; h=From:To:Subject:Date:From; b=J+uJkTlpoOyt0auFfEXMXY2AG+yoeka22ySeo2JbsE7dFGQ8IqseY+PMkGOVrf5Ph LVC1ntkUMp6OEu1Lxp4eY3lGypMt0lEjvP+CMUzaJqmC65Ke44PdCe/uD6PigXkpaX 6uAyM1/7VeBY65zCewUxa4kNNlFxToYk9bms/+y4= Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable From: Tom Tromey To: gdb-cvs@sourceware.org Subject: [binutils-gdb] Remove some unused includes X-Act-Checkin: binutils-gdb X-Git-Author: Tom Tromey X-Git-Refname: refs/heads/master X-Git-Oldrev: ea2f6fad7e104fb65da6a438bb0ec753210f1e90 X-Git-Newrev: 5ea14aa4e53fa37f4ba4517497ed2c1e4c60dee2 Message-Id: <20230119180959.298E73858028@sourceware.org> Date: Thu, 19 Jan 2023 18:09:59 +0000 (GMT) List-Id: https://sourceware.org/git/gitweb.cgi?p=3Dbinutils-gdb.git;h=3D5ea14aa4e53f= a37f4ba4517497ed2c1e4c60dee2 commit 5ea14aa4e53fa37f4ba4517497ed2c1e4c60dee2 Author: Tom Tromey Date: Thu Jan 19 11:08:06 2023 -0700 Remove some unused includes =20 I noticed a few spots that include gnu-stabs.h but that do not need to. This patch removes these unnecessary includes. Tested by rebuilding. Diff: --- gdb/objfiles.c | 1 - gdb/remote.c | 1 - gdb/symfile.c | 1 - 3 files changed, 3 deletions(-) diff --git a/gdb/objfiles.c b/gdb/objfiles.c index 411bf121ede..8e920c726f5 100644 --- a/gdb/objfiles.c +++ b/gdb/objfiles.c @@ -27,7 +27,6 @@ #include "symtab.h" #include "symfile.h" #include "objfiles.h" -#include "gdb-stabs.h" #include "target.h" #include "bcache.h" #include "expression.h" diff --git a/gdb/remote.c b/gdb/remote.c index 218bca30d04..0a6e293c095 100644 --- a/gdb/remote.c +++ b/gdb/remote.c @@ -30,7 +30,6 @@ #include "process-stratum-target.h" #include "gdbcmd.h" #include "objfiles.h" -#include "gdb-stabs.h" #include "gdbthread.h" #include "remote.h" #include "remote-notif.h" diff --git a/gdb/symfile.c b/gdb/symfile.c index e0942dfb22d..3e1aa405319 100644 --- a/gdb/symfile.c +++ b/gdb/symfile.c @@ -39,7 +39,6 @@ #include "inferior.h" #include "regcache.h" #include "filenames.h" /* for DOSish file names */ -#include "gdb-stabs.h" #include "gdbsupport/gdb_obstack.h" #include "completer.h" #include "bcache.h"