Do not include unnecessary files in fbsd-tdep.c
authorGary Benson <gbenson@redhat.com>
Wed, 8 Oct 2014 08:52:38 +0000 (09:52 +0100)
committerGary Benson <gbenson@redhat.com>
Wed, 8 Oct 2014 08:52:38 +0000 (09:52 +0100)
This commit makes fbsd-tdep.c not include string.h or gdb_assert.h
as both are already included by defs.h.

gdb/ChangeLog:

* fbsd-tdep.c: Do not include string.h or gdb_assert.h.

gdb/ChangeLog
gdb/fbsd-tdep.c

index 9b74d16..1418de0 100644 (file)
@@ -1,5 +1,9 @@
 2014-10-08  Gary Benson  <gbenson@redhat.com>
 
+       * fbsd-tdep.c: Do not include string.h or gdb_assert.h.
+
+2014-10-08  Gary Benson  <gbenson@redhat.com>
+
        * common/common-defs.h: Include common-exceptions.h.
        * exceptions.h: Do not include common-exceptions.h.
 
index a60fbc2..556987a 100644 (file)
@@ -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"