From 0e8285f1200b2feb78876c3edfe53637cf2577da Mon Sep 17 00:00:00 2001 From: Richard Earnshaw Date: Tue, 13 Apr 1999 05:12:37 +0000 Subject: [PATCH] arm.h (function prototypes for arm.c): Ifdef these out if HAVE_CONFIG_H is not defined. * arm.h (function prototypes for arm.c): Ifdef these out if HAVE_CONFIG_H is not defined. From-SVN: r26399 --- gcc/ChangeLog | 5 +++++ gcc/config/arm/arm.h | 7 ++++++- 2 files changed, 11 insertions(+), 1 deletion(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 449ed87..ccf1d9f 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +Tue Apr 13 05:04:59 1999 Richard Earnshaw (rearnsha@arm.com) + + * arm.h (function prototypes for arm.c): Ifdef these out if + HAVE_CONFIG_H is not defined. + Tue Apr 13 02:11:11 1999 Jeffrey A Law (law@cygnus.com) * pa.c: Remove space register specification in memory addresses, diff --git a/gcc/config/arm/arm.h b/gcc/config/arm/arm.h index 86fe248..ef18f49 100644 --- a/gcc/config/arm/arm.h +++ b/gcc/config/arm/arm.h @@ -2044,7 +2044,11 @@ do { \ when running in 32 bit mode. */ \ ((!TARGET_APCS_32) ? (GEN_INT (0x03fffffc)) : (GEN_INT (0xffffffff))) -/* Prototypes for arm.c */ +/* The remainder of this file is only needed for building the compiler + itself, not for the collateral. */ +#ifdef HAVE_CONFIG_H + +/* Prototypes for functions in arm.c */ #ifdef BUFSIZ /* stdio.h has been included, ok to use FILE * */ #define STDIO_PROTO(ARGS) PROTO (ARGS) @@ -2174,5 +2178,6 @@ void aof_add_import PROTO ((char *)); void aof_delete_import PROTO ((char *)); void aof_dump_imports STDIO_PROTO ((FILE *)); #endif +#endif /* HAVE_CONFIG_H */ #endif /* __ARM_H__ */ -- 2.7.4