diff options
author | Gary Benson <gbenson@redhat.com> | 2014-07-25 17:35:30 +0100 |
---|---|---|
committer | Gary Benson <gbenson@redhat.com> | 2014-08-07 09:06:38 +0100 |
commit | d7096f716534f280fba72a5b2ec3712ad1aea42e (patch) | |
tree | 788000437b39b0e011270364687cb10807f346af /gdb/common/common-defs.h | |
parent | d02f550d39f0229f7c190e6509b3b466f1a60732 (diff) | |
download | gdb-d7096f716534f280fba72a5b2ec3712ad1aea42e.zip gdb-d7096f716534f280fba72a5b2ec3712ad1aea42e.tar.gz gdb-d7096f716534f280fba72a5b2ec3712ad1aea42e.tar.bz2 |
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.
Diffstat (limited to 'gdb/common/common-defs.h')
-rw-r--r-- | gdb/common/common-defs.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/gdb/common/common-defs.h b/gdb/common/common-defs.h index 0fc7af5..ed95a36 100644 --- a/gdb/common/common-defs.h +++ b/gdb/common/common-defs.h @@ -28,5 +28,6 @@ #endif #include <stdio.h> +#include <stdlib.h> #endif /* COMMON_DEFS_H */ |