* frags.h: Remove ANSI_PROTOTYPES conditional code.
authorBen Elliston <bje@au.ibm.com>
Fri, 8 Jul 2005 05:57:21 +0000 (05:57 +0000)
committerBen Elliston <bje@au.ibm.com>
Fri, 8 Jul 2005 05:57:21 +0000 (05:57 +0000)
* config/obj-elf.h: Likewise.
* config/tc-h8300.h: Likewise.
* config/tc-h8500.h: Likewise.
* config/tc-i370.h: Likewise.
* config/tc-i386.h: Likewise.
* config/tc-m68hc11.h: Likewise.
* config/tc-m68k.h: Likewise.
* config/tc-ppc.h: Likewise.
* config/tc-s390.h: Likewise.
* config/tc-sh.h: Likewise.
* config/tc-sparc.h: Likewise.
* config/tc-tic30.c: Likewise.
* config/tc-w65.h: Likewise.
* config/tc-xtensa.h: Likewise.

16 files changed:
gas/ChangeLog
gas/config/obj-elf.h
gas/config/tc-h8300.h
gas/config/tc-h8500.h
gas/config/tc-i370.h
gas/config/tc-i386.h
gas/config/tc-m68hc11.h
gas/config/tc-m68k.h
gas/config/tc-ppc.h
gas/config/tc-s390.h
gas/config/tc-sh.h
gas/config/tc-sparc.h
gas/config/tc-tic30.c
gas/config/tc-w65.h
gas/config/tc-xtensa.h
gas/frags.h

index c1a2990..16f5072 100644 (file)
@@ -1,3 +1,21 @@
+2005-07-08  Ben Elliston  <bje@au.ibm.com>
+
+       * frags.h: Remove ANSI_PROTOTYPES conditional code.
+       * config/obj-elf.h: Likewise.
+       * config/tc-h8300.h: Likewise.
+       * config/tc-h8500.h: Likewise.
+       * config/tc-i370.h: Likewise.
+       * config/tc-i386.h: Likewise.
+       * config/tc-m68hc11.h: Likewise.
+       * config/tc-m68k.h: Likewise.
+       * config/tc-ppc.h: Likewise.
+       * config/tc-s390.h: Likewise.
+       * config/tc-sh.h: Likewise.
+       * config/tc-sparc.h: Likewise.
+       * config/tc-tic30.c: Likewise.
+       * config/tc-w65.h: Likewise.
+       * config/tc-xtensa.h: Likewise.
+
 2005-07-08  Hans-Peter Nilsson  <hp@axis.com>
 
        PR gas/1049
index f7a5b5e..01c1598 100644 (file)
@@ -241,9 +241,7 @@ extern void elf_pop_insert (void);
 
 #ifndef OBJ_MAYBE_ELF
 #define obj_ecoff_set_ext elf_ecoff_set_ext
-#ifdef ANSI_PROTOTYPES
 struct ecoff_extr;
-#endif
 extern void elf_ecoff_set_ext (symbolS *, struct ecoff_extr *);
 #endif
 
index 2f0652b..4493838 100644 (file)
 #define FAKE_LABEL_NAME ".L0\001"
 #endif
 
-#if ANSI_PROTOTYPES
 struct fix;
 struct internal_reloc;
-#endif
 
 #define WORKING_DOT_WORD
 
index 1388d13..024f212 100644 (file)
@@ -23,9 +23,7 @@
 
 #define TARGET_BYTES_BIG_ENDIAN 1
 
-#if ANSI_PROTOTYPES
 struct internal_reloc;
-#endif
 
 #define WORKING_DOT_WORD
 
index e44328d..8822996 100644 (file)
@@ -22,9 +22,7 @@
 
 #define TC_I370
 
-#ifdef ANSI_PROTOTYPES
 struct fix;
-#endif
 
 /* Set the endianness we are using.  Default to big endian.  */
 #ifndef TARGET_BYTES_BIG_ENDIAN
index e545397..b10e887 100644 (file)
@@ -27,9 +27,7 @@
 #error So, do you know what you are doing?
 #endif
 
-#ifdef ANSI_PROTOTYPES
 struct fix;
-#endif
 
 #define TARGET_BYTES_BIG_ENDIAN        0
 
index 7560716..954e486 100644 (file)
@@ -22,9 +22,7 @@
 #define TC_M68HC11
 #define TC_M68HC12
 
-#ifdef ANSI_PROTOTYPES
 struct fix;
-#endif
 
 /* Define TC_M68K so that we can use the MRI mode.  */
 #define TC_M68K
index 1ec1359..f5de3ac 100644 (file)
@@ -22,9 +22,7 @@
 
 #define TC_M68K 1
 
-#ifdef ANSI_PROTOTYPES
 struct fix;
-#endif
 
 #define TARGET_BYTES_BIG_ENDIAN 1
 
index a005b0d..0e85bba 100644 (file)
@@ -22,9 +22,7 @@
 
 #define TC_PPC
 
-#ifdef ANSI_PROTOTYPES
 struct fix;
-#endif
 
 /* Set the endianness we are using.  Default to big endian.  */
 #ifndef TARGET_BYTES_BIG_ENDIAN
index b421fa6..8a22e53 100644 (file)
@@ -21,9 +21,7 @@
 
 #define TC_S390
 
-#ifdef ANSI_PROTOTYPES
 struct fix;
-#endif
 
 #ifndef BFD_ASSEMBLER
  #error S390 support requires BFD_ASSEMBLER
index 61150ae..4143aef 100644 (file)
@@ -23,7 +23,6 @@
 
 #define TARGET_ARCH bfd_arch_sh
 
-#if ANSI_PROTOTYPES
 /* The type fixS is defined (to struct fix) in write.h, but write.h uses
    definitions from this file.  To avoid problems with including write.h
    after the "right" definitions, don't; just forward-declare struct fix
@@ -31,7 +30,6 @@
 struct fix;
 struct segment_info_struct;
 struct internal_reloc;
-#endif
 
 /* Whether -relax was used.  */
 extern int sh_relax;
index 339a9c2..14da16a 100644 (file)
@@ -22,9 +22,7 @@
 #ifndef TC_SPARC
 #define TC_SPARC 1
 
-#ifdef ANSI_PROTOTYPES
 struct frag;
-#endif
 
 /* This is used to set the default value for `target_big_endian'.  */
 #define TARGET_BYTES_BIG_ENDIAN 1
index b77a7b0..dfdb4b0 100644 (file)
 #include "as.h"
 #include "safe-ctype.h"
 #include "opcode/tic30.h"
-#ifdef ANSI_PROTOTYPES
 #include <stdarg.h>
-#else
-#include <varargs.h>
-#endif
 
 /* Put here all non-digit non-letter characters that may occur in an
    operand.  */
index 922dd11..19bb15b 100644 (file)
 
 #define TARGET_BYTES_BIG_ENDIAN 0
 
-#if ANSI_PROTOTYPES
 struct internal_reloc;
 struct fix;
-#endif
 
 #define WORKING_DOT_WORD
 
index 56c38f9..fd72712 100644 (file)
@@ -21,9 +21,7 @@
 #ifndef TC_XTENSA
 #define TC_XTENSA 1
 
-#ifdef ANSI_PROTOTYPES
 struct fix;
-#endif
 
 #ifndef BFD_ASSEMBLER
 #error Xtensa support requires BFD_ASSEMBLER
index 578732c..e6c6170 100644 (file)
@@ -22,9 +22,7 @@
 #ifndef FRAGS_H
 #define FRAGS_H
 
-#ifdef ANSI_PROTOTYPES
 struct obstack;
-#endif
 
 /* A code fragment (frag) is some known number of chars, followed by some
    unknown number of chars. Typically the unknown number of chars is an