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 9b74d16c509d4fdefd1ad20648654bb88d40289b..1418de0fc4f5776adf16e6d599ecee28f59fcd8f 100644 (file)
@@ -1,3 +1,7 @@
+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.
index a60fbc24f8f1e54057fdf38b0b8cd7a46fd9e22b..556987ae410e46bd0a627568e638d13d5b71aee2 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"