[RFA,v2,10/10] Remove unnecessary include from linespec.h

Message ID 20180404044049.31481-11-tom@tromey.com
State New
Headers show
Series
  • Remove some cleanups from linespec.c
Related show

Commit Message

Tom Tromey April 4, 2018, 4:40 a.m.
linespec.h was inculding vec.h, but doesn't expose any VECs.
So, this include can be removed.

gdb/ChangeLog
2018-04-03  Tom Tromey  <tom@tromey.com>

	* linespec.h: Remove include of "vec.h".
---
 gdb/ChangeLog  | 4 ++++
 gdb/linespec.h | 1 -
 2 files changed, 4 insertions(+), 1 deletion(-)

-- 
2.13.6

Patch

diff --git a/gdb/linespec.h b/gdb/linespec.h
index eced085e3e..7251a963af 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.  */