* 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.
This commit is contained in:
Ben Elliston 2005-07-08 05:57:21 +00:00
parent 6c98dd1ecb
commit b4f261e094
16 changed files with 18 additions and 32 deletions

View 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

View 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

View File

@ -37,10 +37,8 @@
#define FAKE_LABEL_NAME ".L0\001"
#endif
#if ANSI_PROTOTYPES
struct fix;
struct internal_reloc;
#endif
#define WORKING_DOT_WORD

View File

@ -23,9 +23,7 @@
#define TARGET_BYTES_BIG_ENDIAN 1
#if ANSI_PROTOTYPES
struct internal_reloc;
#endif
#define WORKING_DOT_WORD

View 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

View 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

View 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

View File

@ -22,9 +22,7 @@
#define TC_M68K 1
#ifdef ANSI_PROTOTYPES
struct fix;
#endif
#define TARGET_BYTES_BIG_ENDIAN 1

View 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

View File

@ -21,9 +21,7 @@
#define TC_S390
#ifdef ANSI_PROTOTYPES
struct fix;
#endif
#ifndef BFD_ASSEMBLER
#error S390 support requires BFD_ASSEMBLER

View 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;

View 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

View File

@ -28,11 +28,7 @@
#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. */

View File

@ -23,10 +23,8 @@
#define TARGET_BYTES_BIG_ENDIAN 0
#if ANSI_PROTOTYPES
struct internal_reloc;
struct fix;
#endif
#define WORKING_DOT_WORD

View 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

View 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