Remove unnecessary include from linespec.h
authorTom Tromey <tom@tromey.com>
Sat, 31 Mar 2018 18:55:32 +0000 (12:55 -0600)
committerTom Tromey <tom@tromey.com>
Thu, 5 Apr 2018 13:39:37 +0000 (07:39 -0600)
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".

gdb/ChangeLog
gdb/linespec.h

index a822847..e725f13 100644 (file)
@@ -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.
index eced085..7251a96 100644 (file)
@@ -20,7 +20,6 @@
 struct symtab;
 
 #include "location.h"
-#include "vec.h"
 
 /* Flags to pass to decode_line_1 and decode_line_full.  */