diff options
author | Gary Benson <gbenson@redhat.com> | 2014-10-08 09:52:38 +0100 |
---|---|---|
committer | Gary Benson <gbenson@redhat.com> | 2014-10-08 09:52:38 +0100 |
commit | 3ba37e6c302904cb38b9572faa9b9c1bb176d782 (patch) | |
tree | 8b64e3a8a425f97971f073d99f49d42f7144015e | |
parent | a442d0713a940326c72c1c85357cb92d5f6d2fc2 (diff) | |
download | gdb-3ba37e6c302904cb38b9572faa9b9c1bb176d782.zip gdb-3ba37e6c302904cb38b9572faa9b9c1bb176d782.tar.gz gdb-3ba37e6c302904cb38b9572faa9b9c1bb176d782.tar.bz2 |
Do not include unnecessary files in fbsd-tdep.c
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.
-rw-r--r-- | gdb/ChangeLog | 4 | ||||
-rw-r--r-- | gdb/fbsd-tdep.c | 3 |
2 files changed, 4 insertions, 3 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 9b74d16..1418de0 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -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. 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" |