diff options
author | Gary Benson <gbenson@redhat.com> | 2014-07-28 13:15:41 +0100 |
---|---|---|
committer | Gary Benson <gbenson@redhat.com> | 2014-08-07 09:06:40 +0100 |
commit | 8ebb3f5606b361b30e854335fa5a9ce0fd018d41 (patch) | |
tree | e121174cfc624e660415965f34e3668d4e840a50 /gdb/gdbserver | |
parent | 8980bdf628f991be9c13f2d66753af2bbe5f53f5 (diff) | |
download | binutils-8ebb3f5606b361b30e854335fa5a9ce0fd018d41.zip binutils-8ebb3f5606b361b30e854335fa5a9ce0fd018d41.tar.gz binutils-8ebb3f5606b361b30e854335fa5a9ce0fd018d41.tar.bz2 |
Move stddef.h to common-defs.h
This commit moves the inclusion of stddef.h to common-defs.h and
removes all other inclusions.
gdb/
2014-08-07 Gary Benson <gbenson@redhat.com>
* common/common-defs.h: Include stddef.h.
* defs.h: Do not include stddef.h.
* common/common-utils.h: Likewise.
* amd64fbsd-nat.c: Likewise.
* bcache.c: Likewise.
* charset.c: Likewise.
* common/buffer.h: Likewise.
* common/vec.h: Likewise.
* i386bsd-nat.c: Likewise.
* nat/linux-btrace.h: Likewise.
* ppcfbsd-nat.c: Likewise.
* ppcnbsd-tdep.h: Likewise.
* ppcobsd-nat.c: Likewise.
* ppcobsd-tdep.h: Likewise.
* python/py-gdb-readline.c: Likewise.
gdb/gdbserver/
2014-08-07 Gary Benson <gbenson@redhat.com>
* linux-x86-low.c: Do not include stddef.h.
* lynx-ppc-low.c: Likewise.
* tracepoint.c: Likewise.
Diffstat (limited to 'gdb/gdbserver')
-rw-r--r-- | gdb/gdbserver/ChangeLog | 6 | ||||
-rw-r--r-- | gdb/gdbserver/linux-x86-low.c | 1 | ||||
-rw-r--r-- | gdb/gdbserver/lynx-ppc-low.c | 1 | ||||
-rw-r--r-- | gdb/gdbserver/tracepoint.c | 1 |
4 files changed, 6 insertions, 3 deletions
diff --git a/gdb/gdbserver/ChangeLog b/gdb/gdbserver/ChangeLog index 6f0dbf0..90d40ed 100644 --- a/gdb/gdbserver/ChangeLog +++ b/gdb/gdbserver/ChangeLog @@ -1,5 +1,11 @@ 2014-08-07 Gary Benson <gbenson@redhat.com> + * linux-x86-low.c: Do not include stddef.h. + * lynx-ppc-low.c: Likewise. + * tracepoint.c: Likewise. + +2014-08-07 Gary Benson <gbenson@redhat.com> + * server.h: Do not include stdarg.h. * nto-low.c: Likewise. diff --git a/gdb/gdbserver/linux-x86-low.c b/gdb/gdbserver/linux-x86-low.c index 850ed7c..7a8a473 100644 --- a/gdb/gdbserver/linux-x86-low.c +++ b/gdb/gdbserver/linux-x86-low.c @@ -18,7 +18,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. */ #include "server.h" -#include <stddef.h> #include <signal.h> #include <limits.h> #include <inttypes.h> diff --git a/gdb/gdbserver/lynx-ppc-low.c b/gdb/gdbserver/lynx-ppc-low.c index d6ead6f..7884f23 100644 --- a/gdb/gdbserver/lynx-ppc-low.c +++ b/gdb/gdbserver/lynx-ppc-low.c @@ -19,7 +19,6 @@ #include "lynx-low.h" #include <stdint.h> -#include <stddef.h> #include <limits.h> #include <sys/ptrace.h> diff --git a/gdb/gdbserver/tracepoint.c b/gdb/gdbserver/tracepoint.c index 31be953..302b9c7 100644 --- a/gdb/gdbserver/tracepoint.c +++ b/gdb/gdbserver/tracepoint.c @@ -26,7 +26,6 @@ #include <fcntl.h> #include <unistd.h> #include <sys/time.h> -#include <stddef.h> #include <inttypes.h> #include <stdint.h> |