This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]