diff options
author | Gary Benson <gbenson@redhat.com> | 2014-07-28 13:52:38 +0100 |
---|---|---|
committer | Gary Benson <gbenson@redhat.com> | 2014-08-07 09:06:41 +0100 |
commit | b939114242762636cfdcf9a45949cb54cdaacc8c (patch) | |
tree | 6cbac9bd5580f14360bbace7fb27f83b74eba43f /gdb/common | |
parent | 0e443c875f4f3f2dcaf9cc09d2518139fee0e76b (diff) | |
download | gdb-b939114242762636cfdcf9a45949cb54cdaacc8c.zip gdb-b939114242762636cfdcf9a45949cb54cdaacc8c.tar.gz gdb-b939114242762636cfdcf9a45949cb54cdaacc8c.tar.bz2 |
Move libiberty.h to common-defs.h
This commit moves the inclusion of libiberty.h to common-defs.h and
removes all other inclusions.
gdb/
2014-08-07 Gary Benson <gbenson@redhat.com>
* common/common-defs.h: Include libiberty.h.
* defs.h: Do not include libiberty.h.
* common/queue.h: Likewise.
* cp-name-parser.y: Likewise.
* mi/mi-cmd-catch.c: Likewise.
* python/python.c: Likewise.
gdb/gdbserver/
2014-08-07 Gary Benson <gbenson@redhat.com>
* server.h: Do not include libiberty.h.
* linux-bfin-low.c: Likewise.
Diffstat (limited to 'gdb/common')
-rw-r--r-- | gdb/common/common-defs.h | 1 | ||||
-rw-r--r-- | gdb/common/queue.h | 1 |
2 files changed, 1 insertions, 1 deletions
diff --git a/gdb/common/common-defs.h b/gdb/common/common-defs.h index 8106e68..eedc318 100644 --- a/gdb/common/common-defs.h +++ b/gdb/common/common-defs.h @@ -32,5 +32,6 @@ #include <stdarg.h> #include <stddef.h> #include "ansidecl.h" +#include "libiberty.h" #endif /* COMMON_DEFS_H */ diff --git a/gdb/common/queue.h b/gdb/common/queue.h index 4ce53c3c..34e4db3 100644 --- a/gdb/common/queue.h +++ b/gdb/common/queue.h @@ -20,7 +20,6 @@ #ifndef QUEUE_H #define QUEUE_H -#include "libiberty.h" /* xmalloc */ #include "gdb_assert.h" /* These macros implement functions and structs for a general queue. |