aboutsummaryrefslogtreecommitdiff
path: root/gdb
diff options
context:
space:
mode:
authorTom Tromey <tom@tromey.com>2018-03-31 12:55:32 -0600
committerTom Tromey <tom@tromey.com>2018-04-05 07:39:37 -0600
commit8a76bd3ba43205b76226f41fe73e2840c2444742 (patch)
treeb145c4fe3487abdba6def664e6d12a4ca445afd2 /gdb
parent8e8d776ead8187343652bda8aa373babe505bd4e (diff)
downloadbinutils-8a76bd3ba43205b76226f41fe73e2840c2444742.zip
binutils-8a76bd3ba43205b76226f41fe73e2840c2444742.tar.gz
binutils-8a76bd3ba43205b76226f41fe73e2840c2444742.tar.bz2
Remove unnecessary include from linespec.h
linespec.h was inculding vec.h, but doesn't expose any VECs. So, this include can be removed. ChangeLog 2018-04-05 Tom Tromey <tom@tromey.com> * linespec.h: Remove include of "vec.h".
Diffstat (limited to 'gdb')
-rw-r--r--gdb/ChangeLog4
-rw-r--r--gdb/linespec.h1
2 files changed, 4 insertions, 1 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index a822847..e725f13 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,5 +1,9 @@
2018-04-05 Tom Tromey <tom@tromey.com>
+ * linespec.h: Remove include of "vec.h".
+
+2018-04-05 Tom Tromey <tom@tromey.com>
+
* linespec.c (typep): Remove typedef.
(find_methods, find_superclass_methods): Take a std::vector.
(find_method): Use std::vector.
diff --git a/gdb/linespec.h b/gdb/linespec.h
index eced085..7251a96 100644
--- a/gdb/linespec.h
+++ b/gdb/linespec.h
@@ -20,7 +20,6 @@
struct symtab;
#include "location.h"
-#include "vec.h"
/* Flags to pass to decode_line_1 and decode_line_full. */