This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
[RFA 10/10] Remove unnecessary include from linespec.h
- From: Tom Tromey <tom at tromey dot com>
- To: gdb-patches at sourceware dot org
- Cc: Tom Tromey <tom at tromey dot com>
- Date: Sun, 1 Apr 2018 10:35:39 -0600
- Subject: [RFA 10/10] Remove unnecessary include from linespec.h
- References: <20180401163539.15314-1-tom@tromey.com>
linespec.h was inculding vec.h, but doesn't expose any VECs.
So, this include can be removed.
2018-03-31 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(-)
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. */
--
2.13.6