aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKaveh R. Ghazi <ghazi@caip.rutgers.edu>2003-06-02 14:15:15 +0000
committerKaveh Ghazi <ghazi@gcc.gnu.org>2003-06-02 14:15:15 +0000
commite91e4f6ceea7584e06dafa3aca1ad62167fe8621 (patch)
treeb1f9123840c32ded8180246d9b6ff6ff5ded94a0
parentb38a52448fcb3a5ab1ab8aa87541dd7269e1c538 (diff)
downloadgcc-e91e4f6ceea7584e06dafa3aca1ad62167fe8621.zip
gcc-e91e4f6ceea7584e06dafa3aca1ad62167fe8621.tar.gz
gcc-e91e4f6ceea7584e06dafa3aca1ad62167fe8621.tar.bz2
mips.c: Don't include output.h twice.
* mips.c: Don't include output.h twice. * stormy16.c: Likewise. * xtensa.c: Likewise. * output.h: Protect against multiple inclusion. From-SVN: r67330
-rw-r--r--gcc/ChangeLog7
-rw-r--r--gcc/config/mips/mips.c1
-rw-r--r--gcc/config/stormy16/stormy16.c1
-rw-r--r--gcc/config/xtensa/xtensa.c1
-rw-r--r--gcc/output.h5
5 files changed, 12 insertions, 3 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 8350f37..4a21b0a 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,10 @@
+2003-06-02 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
+
+ * mips.c: Don't include output.h twice.
+ * stormy16.c: Likewise.
+ * xtensa.c: Likewise.
+ * output.h: Protect against multiple inclusion.
+
2003-06-02 J"orn Rennecke <joern.rennecke@superh.com>
* sh.h (OLD_ARG_MODE): New macro.
diff --git a/gcc/config/mips/mips.c b/gcc/config/mips/mips.c
index d77a3eb..67c42a0 100644
--- a/gcc/config/mips/mips.c
+++ b/gcc/config/mips/mips.c
@@ -47,7 +47,6 @@ Boston, MA 02111-1307, USA. */
#include "expr.h"
#include "flags.h"
#include "reload.h"
-#include "output.h"
#include "tm_p.h"
#include "ggc.h"
#include "gstab.h"
diff --git a/gcc/config/stormy16/stormy16.c b/gcc/config/stormy16/stormy16.c
index 193be195..823f193 100644
--- a/gcc/config/stormy16/stormy16.c
+++ b/gcc/config/stormy16/stormy16.c
@@ -40,7 +40,6 @@ Boston, MA 02111-1307, USA. */
#include "tree.h"
#include "expr.h"
#include "optabs.h"
-#include "output.h"
#include "except.h"
#include "function.h"
#include "target.h"
diff --git a/gcc/config/xtensa/xtensa.c b/gcc/config/xtensa/xtensa.c
index d3ec724..3c382d9 100644
--- a/gcc/config/xtensa/xtensa.c
+++ b/gcc/config/xtensa/xtensa.c
@@ -43,7 +43,6 @@ Software Foundation, 59 Temple Place - Suite 330, Boston, MA
#include "function.h"
#include "toplev.h"
#include "optabs.h"
-#include "output.h"
#include "libfuncs.h"
#include "ggc.h"
#include "target.h"
diff --git a/gcc/output.h b/gcc/output.h
index dcbcee6..6f6be64 100644
--- a/gcc/output.h
+++ b/gcc/output.h
@@ -20,6 +20,9 @@ along with GCC; see the file COPYING. If not, write to the Free
Software Foundation, 59 Temple Place - Suite 330, Boston, MA
02111-1307, USA. */
+#ifndef GCC_OUTPUT_H
+#define GCC_OUTPUT_H
+
/* Compute branch alignments based on frequency information in the CFG. */
extern void compute_alignments PARAMS ((void));
@@ -536,3 +539,5 @@ extern void assemble_vtable_inherit PARAMS ((struct rtx_def *,
struct rtx_def *));
extern int default_address_cost PARAMS ((rtx));
+
+#endif /* ! GCC_OUTPUT_H */