aboutsummaryrefslogtreecommitdiff
path: root/gdb/common
diff options
context:
space:
mode:
authorGary Benson <gbenson@redhat.com>2014-07-28 11:32:37 +0100
committerGary Benson <gbenson@redhat.com>2014-08-07 09:06:39 +0100
commit8980bdf628f991be9c13f2d66753af2bbe5f53f5 (patch)
tree9a792ccbbc4f42be0588c48ceac8313637148f8c /gdb/common
parentd7096f716534f280fba72a5b2ec3712ad1aea42e (diff)
downloadfsf-binutils-gdb-8980bdf628f991be9c13f2d66753af2bbe5f53f5.zip
fsf-binutils-gdb-8980bdf628f991be9c13f2d66753af2bbe5f53f5.tar.gz
fsf-binutils-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/common')
-rw-r--r--gdb/common/common-defs.h1
-rw-r--r--gdb/common/common-utils.h1
2 files changed, 1 insertions, 1 deletions
diff --git a/gdb/common/common-defs.h b/gdb/common/common-defs.h
index ed95a36..d227b00 100644
--- a/gdb/common/common-defs.h
+++ b/gdb/common/common-defs.h
@@ -29,5 +29,6 @@
#include <stdio.h>
#include <stdlib.h>
+#include <stdarg.h>
#endif /* COMMON_DEFS_H */
diff --git a/gdb/common/common-utils.h b/gdb/common/common-utils.h
index f052fed..dff7b53 100644
--- a/gdb/common/common-utils.h
+++ b/gdb/common/common-utils.h
@@ -22,7 +22,6 @@
#include "ansidecl.h"
#include <stddef.h>
-#include <stdarg.h>
/* If possible, define FUNCTION_NAME, a macro containing the name of
the function being defined. Since this macro may not always be