From 407ca654547b100903f7eab44d078a2440736f13 Mon Sep 17 00:00:00 2001 From: Tom Tromey Date: Mon, 26 Feb 2024 10:47:45 -0700 Subject: [PATCH] Two minor addrmap cleanups While working on a different patch, I found a couple of simple addrmap cleanups. In one case, a forward declaration is no longer needed, as the header now includes addrmap.h. In the other, an include of addrmap.h is no longer needed. Tested by rebuilding. --- gdb/buildsym.h | 1 - gdb/psymtab.c | 1 - 2 files changed, 2 deletions(-) diff --git a/gdb/buildsym.h b/gdb/buildsym.h index 79ece794559..c1eed247d25 100644 --- a/gdb/buildsym.h +++ b/gdb/buildsym.h @@ -25,7 +25,6 @@ struct objfile; struct symbol; -struct addrmap; struct compunit_symtab; enum language; diff --git a/gdb/psymtab.c b/gdb/psymtab.c index 334a9417055..a831e5eec40 100644 --- a/gdb/psymtab.c +++ b/gdb/psymtab.c @@ -24,7 +24,6 @@ #include "block.h" #include "filenames.h" #include "source.h" -#include "addrmap.h" #include "gdbtypes.h" #include "ui-out.h" #include "command.h"