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.
This commit is contained in:
parent
d7096f7165
commit
8980bdf628
11 changed files with 16 additions and 11 deletions
|
@ -1,3 +1,13 @@
|
||||||
|
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.
|
||||||
|
|
||||||
2014-08-07 Gary Benson <gbenson@redhat.com>
|
2014-08-07 Gary Benson <gbenson@redhat.com>
|
||||||
|
|
||||||
* common/common-defs.h: Include stdlib.h.
|
* common/common-defs.h: Include stdlib.h.
|
||||||
|
|
|
@ -21,7 +21,6 @@
|
||||||
#include "defs.h"
|
#include "defs.h"
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
#include <ctype.h>
|
#include <ctype.h>
|
||||||
#include <stdarg.h>
|
|
||||||
#include "demangle.h"
|
#include "demangle.h"
|
||||||
#include "gdb_regex.h"
|
#include "gdb_regex.h"
|
||||||
#include "frame.h"
|
#include "frame.h"
|
||||||
|
|
|
@ -29,5 +29,6 @@
|
||||||
|
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
|
#include <stdarg.h>
|
||||||
|
|
||||||
#endif /* COMMON_DEFS_H */
|
#endif /* COMMON_DEFS_H */
|
||||||
|
|
|
@ -22,7 +22,6 @@
|
||||||
|
|
||||||
#include "ansidecl.h"
|
#include "ansidecl.h"
|
||||||
#include <stddef.h>
|
#include <stddef.h>
|
||||||
#include <stdarg.h>
|
|
||||||
|
|
||||||
/* If possible, define FUNCTION_NAME, a macro containing the name of
|
/* If possible, define FUNCTION_NAME, a macro containing the name of
|
||||||
the function being defined. Since this macro may not always be
|
the function being defined. Since this macro may not always be
|
||||||
|
|
|
@ -90,8 +90,6 @@
|
||||||
#define O_BINARY 0
|
#define O_BINARY 0
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#include <stdarg.h> /* For va_list. */
|
|
||||||
|
|
||||||
#include "libiberty.h"
|
#include "libiberty.h"
|
||||||
#include "hashtab.h"
|
#include "hashtab.h"
|
||||||
|
|
||||||
|
|
|
@ -1,3 +1,8 @@
|
||||||
|
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>
|
2014-08-07 Gary Benson <gbenson@redhat.com>
|
||||||
|
|
||||||
* server.h: Do not include stdlib.h.
|
* server.h: Do not include stdlib.h.
|
||||||
|
|
|
@ -28,7 +28,6 @@
|
||||||
#include <spawn.h>
|
#include <spawn.h>
|
||||||
#include <sys/procfs.h>
|
#include <sys/procfs.h>
|
||||||
#include <sys/auxv.h>
|
#include <sys/auxv.h>
|
||||||
#include <stdarg.h>
|
|
||||||
#include <sys/iomgr.h>
|
#include <sys/iomgr.h>
|
||||||
#include <sys/neutrino.h>
|
#include <sys/neutrino.h>
|
||||||
|
|
||||||
|
|
|
@ -29,7 +29,6 @@
|
||||||
#include "ansidecl.h"
|
#include "ansidecl.h"
|
||||||
#include "version.h"
|
#include "version.h"
|
||||||
|
|
||||||
#include <stdarg.h>
|
|
||||||
#ifdef HAVE_ERRNO_H
|
#ifdef HAVE_ERRNO_H
|
||||||
#include <errno.h>
|
#include <errno.h>
|
||||||
#endif
|
#endif
|
||||||
|
|
|
@ -21,7 +21,6 @@
|
||||||
conventions, et.al. */
|
conventions, et.al. */
|
||||||
|
|
||||||
#include "defs.h"
|
#include "defs.h"
|
||||||
#include <stdarg.h>
|
|
||||||
#include "charset.h"
|
#include "charset.h"
|
||||||
#include "guile-internal.h"
|
#include "guile-internal.h"
|
||||||
|
|
||||||
|
|
|
@ -21,7 +21,6 @@
|
||||||
conventions, et.al. */
|
conventions, et.al. */
|
||||||
|
|
||||||
#include "defs.h"
|
#include "defs.h"
|
||||||
#include <stdarg.h>
|
|
||||||
#include <stdint.h>
|
#include <stdint.h>
|
||||||
#include "gdb_assert.h"
|
#include "gdb_assert.h"
|
||||||
#include "guile-internal.h"
|
#include "guile-internal.h"
|
||||||
|
|
|
@ -18,9 +18,6 @@
|
||||||
along with this program. If not, see <http://www.gnu.org/licenses/>. */
|
along with this program. If not, see <http://www.gnu.org/licenses/>. */
|
||||||
|
|
||||||
#include "defs.h"
|
#include "defs.h"
|
||||||
|
|
||||||
#include <stdarg.h>
|
|
||||||
|
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
#include "gdb_assert.h"
|
#include "gdb_assert.h"
|
||||||
#include "elf-bfd.h"
|
#include "elf-bfd.h"
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue