Move stdlib.h to common-defs.h
authorGary Benson <gbenson@redhat.com>
Fri, 25 Jul 2014 16:35:30 +0000 (17:35 +0100)
committerGary Benson <gbenson@redhat.com>
Thu, 7 Aug 2014 08:06:38 +0000 (09:06 +0100)
commitd7096f716534f280fba72a5b2ec3712ad1aea42e
tree788000437b39b0e011270364687cb10807f346af
parentd02f550d39f0229f7c190e6509b3b466f1a60732
Move stdlib.h to common-defs.h

This commit moves the inclusion of stdlib.h to common-defs.h and
removes all other inclusions.

gdb/
2014-08-07  Gary Benson  <gbenson@redhat.com>

* common/common-defs.h: Include stdlib.h.
* defs.h: Do not include stdlib.h.
* addrmap.c: Likewise.
* bcache.c: Likewise.
* common/buffer.c: Likewise.
* common/common-utils.c: Likewise.
* cp-name-parser.y: Likewise.
* go32-nat.c: Likewise.
* mn10300-linux-tdep.c: Likewise.
* nat/linux-osdata.c: Likewise.
* tui/tui.c: Likewise.
* windows-nat.c: Likewise.

gdb/gdbserver/
2014-08-07  Gary Benson  <gbenson@redhat.com>

* server.h: Do not include stdlib.h.
* inferiors.c: Likewise.
* linux-low.c: Likewise.
* regcache.c: Likewise.
* spu-low.c: Likewise.
* tracepoint.c: Likewise.
* utils.c: Likewise.
21 files changed:
gdb/ChangeLog
gdb/addrmap.c
gdb/bcache.c
gdb/common/buffer.c
gdb/common/common-defs.h
gdb/common/common-utils.c
gdb/cp-name-parser.y
gdb/defs.h
gdb/gdbserver/ChangeLog
gdb/gdbserver/inferiors.c
gdb/gdbserver/linux-low.c
gdb/gdbserver/regcache.c
gdb/gdbserver/server.h
gdb/gdbserver/spu-low.c
gdb/gdbserver/tracepoint.c
gdb/gdbserver/utils.c
gdb/go32-nat.c
gdb/mn10300-linux-tdep.c
gdb/nat/linux-osdata.c
gdb/tui/tui.c
gdb/windows-nat.c