Remove redundant include directives.
authorGary Benson <gbenson@redhat.com>
Wed, 24 Jun 2015 10:59:03 +0000 (11:59 +0100)
committerGary Benson <gbenson@redhat.com>
Wed, 24 Jun 2015 12:52:29 +0000 (13:52 +0100)
commitdc06243f6f87aa52222dab0ef45bb9a5119724da
tree178e8990a2a5f84feab17edc0a2e5eee9fe0bd61
parent44d51e2c27f2154970c046089be768f503b996b1
Remove redundant include directives.

stdint.h was added to common-defs.h some months ago and should
no longer be included directly by any file.

gdb_assert.h was added to common-defs.h nearly a year ago, but
three includes have crept in since then.

This commit removes all such redundant include directives.

gdb/ChangeLog:

* common/buffer.c (stdint.h): Do not include.
* common/print-utils.c (stdint.h): Likewise.
* compile/compile-c-symbols.c (gdb_assert.h): Likewise.
* compile/compile-c-types.c (gdb_assert.h): Likewise.
* ft32-tdep.c (gdb_assert.h): Likewise.
* guile/scm-utils.c (stdint.h): Likewise.
* i386-linux-tdep.c (stdint.h): Likewise.
* i386-tdep.c (stdint.h): Likewise.
* nat/linux-btrace.c (stdint.h): Likewise.
* nat/linux-btrace.h (stdint.h): Likewise.
* nat/linux-ptrace.c (stdint.h): Likewise.
* nat/mips-linux-watch.h (stdint.h): Likewise.
* ppc-linux-nat.c (stdint.h): Likewise.
* python/python-internal.h (stdint.h): Likewise.
* stub-termcap.c (stdlib.h): Likewise.
* target/target.h (stdint.h): Likewise.
* xtensa-linux-nat.c (stdint.h): Likewise.

gdb/gdbserver/ChangeLog:

* linux-i386-ipa.c (stdint.h): Do not include.
* lynx-i386-low.c (stdint.h): Likewise.
* lynx-ppc-low.c (stdint.h): Likewise.
* mem-break.c (stdint.h): Likewise.
* thread-db.c (stdint.h): Likewise.
* tracepoint.c (stdint.h): Likewise.
* win32-low.c (stdint.h): Likewise.
26 files changed:
gdb/ChangeLog
gdb/common/buffer.c
gdb/common/print-utils.c
gdb/compile/compile-c-symbols.c
gdb/compile/compile-c-types.c
gdb/ft32-tdep.c
gdb/gdbserver/ChangeLog
gdb/gdbserver/linux-i386-ipa.c
gdb/gdbserver/lynx-i386-low.c
gdb/gdbserver/lynx-ppc-low.c
gdb/gdbserver/mem-break.c
gdb/gdbserver/thread-db.c
gdb/gdbserver/tracepoint.c
gdb/gdbserver/win32-low.c
gdb/guile/scm-utils.c
gdb/i386-linux-tdep.c
gdb/i386-tdep.c
gdb/nat/linux-btrace.c
gdb/nat/linux-btrace.h
gdb/nat/linux-ptrace.c
gdb/nat/mips-linux-watch.h
gdb/ppc-linux-nat.c
gdb/python/python-internal.h
gdb/stub-termcap.c
gdb/target/target.h
gdb/xtensa-linux-nat.c