[OB PATCH] Do not include unnecessary files in fbsd-tdep.c

Gary Benson gbenson@redhat.com
Wed Oct 8 08:54:00 GMT 2014


Hi all,

This commit makes fbsd-tdep.c not include string.h or gdb_assert.h
as both are already included by defs.h.

Pushed as obvious.

Thanks,
Gary

---
gdb/ChangeLog:

	* fbsd-tdep.c: Do not include string.h or gdb_assert.h.
---
 gdb/ChangeLog   |    4 ++++
 gdb/fbsd-tdep.c |    3 ---
 2 files changed, 4 insertions(+), 3 deletions(-)

diff --git a/gdb/fbsd-tdep.c b/gdb/fbsd-tdep.c
index a60fbc2..556987a 100644
--- a/gdb/fbsd-tdep.c
+++ b/gdb/fbsd-tdep.c
@@ -24,9 +24,6 @@
 #include "regset.h"
 #include "gdbthread.h"
 
-#include "gdb_assert.h"
-#include <string.h>
-
 #include "elf-bfd.h"
 #include "fbsd-tdep.h"
 
-- 
1.7.1



More information about the Gdb-patches mailing list