aboutsummaryrefslogtreecommitdiff
path: root/gdb/bcache.c
diff options
context:
space:
mode:
authorGary Benson <gbenson@redhat.com>2014-07-28 13:15:41 +0100
committerGary Benson <gbenson@redhat.com>2014-08-07 09:06:40 +0100
commit8ebb3f5606b361b30e854335fa5a9ce0fd018d41 (patch)
treee121174cfc624e660415965f34e3668d4e840a50 /gdb/bcache.c
parent8980bdf628f991be9c13f2d66753af2bbe5f53f5 (diff)
downloadgdb-8ebb3f5606b361b30e854335fa5a9ce0fd018d41.zip
gdb-8ebb3f5606b361b30e854335fa5a9ce0fd018d41.tar.gz
gdb-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/bcache.c')
-rw-r--r--gdb/bcache.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/gdb/bcache.c b/gdb/bcache.c
index 0c87e2d..44530bc 100644
--- a/gdb/bcache.c
+++ b/gdb/bcache.c
@@ -25,8 +25,6 @@
#include <string.h> /* For memcpy declaration */
#include "gdb_assert.h"
-#include <stddef.h>
-
/* The type used to hold a single bcache string. The user data is
stored in d.data. Since it can be any type, it needs to have the
same alignment as the most strict alignment of any type on the host