diff options
author | Gary Benson <gbenson@redhat.com> | 2014-07-28 11:32:37 +0100 |
---|---|---|
committer | Gary Benson <gbenson@redhat.com> | 2014-08-07 09:06:39 +0100 |
commit | 8980bdf628f991be9c13f2d66753af2bbe5f53f5 (patch) | |
tree | 9a792ccbbc4f42be0588c48ceac8313637148f8c /gdb/gdbserver | |
parent | d7096f716534f280fba72a5b2ec3712ad1aea42e (diff) | |
download | gdb-8980bdf628f991be9c13f2d66753af2bbe5f53f5.zip gdb-8980bdf628f991be9c13f2d66753af2bbe5f53f5.tar.gz gdb-8980bdf628f991be9c13f2d66753af2bbe5f53f5.tar.bz2 |
Move stdarg.h to common-defs.h
This commit moves the inclusion of stdarg.h to common-defs.h and
removes all other inclusions.
gdb/
2014-08-07 Gary Benson <gbenson@redhat.com>
* common/common-defs.h: Include stdarg.h.
* defs.h: Do not include stdarg.h.
* ada-lang.c: Likewise.
* common/common-utils.h: Likewise.
* guile/scm-string.c: Likewise.
* guile/scm-utils.c: Likewise.
* m32c-tdep.c: Likewise.
gdb/gdbserver/
2014-08-07 Gary Benson <gbenson@redhat.com>
* server.h: Do not include stdarg.h.
* nto-low.c: Likewise.
Diffstat (limited to 'gdb/gdbserver')
-rw-r--r-- | gdb/gdbserver/ChangeLog | 5 | ||||
-rw-r--r-- | gdb/gdbserver/nto-low.c | 1 | ||||
-rw-r--r-- | gdb/gdbserver/server.h | 1 |
3 files changed, 5 insertions, 2 deletions
diff --git a/gdb/gdbserver/ChangeLog b/gdb/gdbserver/ChangeLog index c5a6455..6f0dbf0 100644 --- a/gdb/gdbserver/ChangeLog +++ b/gdb/gdbserver/ChangeLog @@ -1,5 +1,10 @@ 2014-08-07 Gary Benson <gbenson@redhat.com> + * server.h: Do not include stdarg.h. + * nto-low.c: Likewise. + +2014-08-07 Gary Benson <gbenson@redhat.com> + * server.h: Do not include stdlib.h. * inferiors.c: Likewise. * linux-low.c: Likewise. diff --git a/gdb/gdbserver/nto-low.c b/gdb/gdbserver/nto-low.c index 3587156..0afaec7 100644 --- a/gdb/gdbserver/nto-low.c +++ b/gdb/gdbserver/nto-low.c @@ -28,7 +28,6 @@ #include <spawn.h> #include <sys/procfs.h> #include <sys/auxv.h> -#include <stdarg.h> #include <sys/iomgr.h> #include <sys/neutrino.h> diff --git a/gdb/gdbserver/server.h b/gdb/gdbserver/server.h index a15ba36..9d7fd99 100644 --- a/gdb/gdbserver/server.h +++ b/gdb/gdbserver/server.h @@ -29,7 +29,6 @@ #include "ansidecl.h" #include "version.h" -#include <stdarg.h> #ifdef HAVE_ERRNO_H #include <errno.h> #endif |