This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
[OB PATCH] Do not include unnecessary files in fbsd-tdep.c
- From: Gary Benson <gbenson at redhat dot com>
- To: gdb-patches at sourceware dot org
- Date: Wed, 8 Oct 2014 09:54:22 +0100
- Subject: [OB PATCH] Do not include unnecessary files in fbsd-tdep.c
- Authentication-results: sourceware.org; auth=none
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