* config/m68k-parse.h: Use ISO C90.
authorBen Elliston <bje@au.ibm.com>
Thu, 23 Jun 2005 11:40:29 +0000 (11:40 +0000)
committerBen Elliston <bje@au.ibm.com>
Thu, 23 Jun 2005 11:40:29 +0000 (11:40 +0000)
* config/m68k-parse.y: Likewise.
* config/tc-m68k.h: Likewise.

gas/ChangeLog
gas/config/m68k-parse.h
gas/config/m68k-parse.y
gas/config/tc-m68k.h

index af1cbbc..f234a75 100644 (file)
@@ -1,3 +1,9 @@
+2005-06-23  Ben Elliston  <bje@gnu.org>
+
+       * config/m68k-parse.h: Use ISO C90.
+       * config/m68k-parse.y: Likewise.
+       * config/tc-m68k.h: Likewise.
+
 2005-06-20  H.J. Lu  <hongjiu.lu@intel.com>
 
        PR 1013
index 1876156..e7af853 100644 (file)
@@ -1,6 +1,6 @@
 /* m68k-parse.h -- header file for m68k assembler
    Copyright 1987, 1991, 1992, 1993, 1994, 1995, 1996, 1999, 2000,
-   2003, 2004 Free Software Foundation, Inc.
+   2003, 2004, 2005 Free Software Foundation, Inc.
 
    This file is part of GAS, the GNU Assembler.
 
@@ -339,7 +339,7 @@ struct m68k_op
 
 /* The parsing function.  */
 
-extern int m68k_ip_op PARAMS ((char *, struct m68k_op *));
+extern int m68k_ip_op (char *, struct m68k_op *);
 
 /* Whether register prefixes are optional.  */
 extern int flag_reg_prefix_optional;
index 4dc9e0b..2140dda 100644 (file)
@@ -1,5 +1,5 @@
 /* m68k.y -- bison grammar for m68k operand parsing
-   Copyright 1995, 1996, 1997, 1998, 2001, 2003, 2004
+   Copyright 1995, 1996, 1997, 1998, 2001, 2003, 2004, 2005
    Free Software Foundation, Inc.
    Written by Ken Raeburn and Ian Lance Taylor, Cygnus Support
 
@@ -83,9 +83,9 @@
 
 /* Internal functions.  */
 
-static enum m68k_register m68k_reg_parse PARAMS ((char **));
-static int yylex PARAMS ((void));
-static void yyerror PARAMS ((const char *));
+static enum m68k_register m68k_reg_parse (char **);
+static int yylex (void);
+static void yyerror (const char *);
 
 /* The parser sets fields pointed to by this global variable.  */
 static struct m68k_op *op;
index a19ea57..1ec1359 100644 (file)
@@ -73,7 +73,7 @@ struct fix;
 
 #define TC_COFF_FIX2RTYPE(FIX) tc_coff_fix2rtype(FIX)
 #define TC_COFF_SIZEMACHDEP(frag) tc_coff_sizemachdep(frag)
-extern int tc_coff_sizemachdep PARAMS ((struct frag *));
+extern int tc_coff_sizemachdep (struct frag *);
 #ifdef TE_SUN3
 /* This variable contains the value to write out at the beginning of
    the a.out file.  The 2<<16 means that this is a 68020 file instead
@@ -132,19 +132,19 @@ extern const char *m68k_comment_chars;
 #endif
 #endif
 
-extern void m68k_mri_mode_change PARAMS ((int));
+extern void m68k_mri_mode_change (int);
 #define MRI_MODE_CHANGE(i) m68k_mri_mode_change (i)
 
-extern int m68k_conditional_pseudoop PARAMS ((pseudo_typeS *));
+extern int m68k_conditional_pseudoop (pseudo_typeS *);
 #define tc_conditional_pseudoop(pop) m68k_conditional_pseudoop (pop)
 
-extern void m68k_frob_label PARAMS ((symbolS *));
+extern void m68k_frob_label (symbolS *);
 #define tc_frob_label(sym) m68k_frob_label (sym)
 
-extern void m68k_flush_pending_output PARAMS ((void));
+extern void m68k_flush_pending_output (void);
 #define md_flush_pending_output() m68k_flush_pending_output ()
 
-extern void m68k_frob_symbol PARAMS ((symbolS *));
+extern void m68k_frob_symbol (symbolS *);
 
 #ifdef BFD_ASSEMBLER
 
@@ -167,7 +167,7 @@ while (0)
 
 #ifdef OBJ_ELF
 #define tc_fix_adjustable(X) tc_m68k_fix_adjustable(X)
-extern int tc_m68k_fix_adjustable PARAMS ((struct fix *));
+extern int tc_m68k_fix_adjustable (struct fix *);
 
 /* Target *-*-elf implies an embedded target.  No shared libs.
    *-*-uclinux also requires special casing to prevent GAS from
@@ -179,7 +179,7 @@ extern int tc_m68k_fix_adjustable PARAMS ((struct fix *));
 #define MD_APPLY_SYM_VALUE(FIX) 0
 
 #define elf_tc_final_processing m68k_elf_final_processing
-extern void m68k_elf_final_processing PARAMS ((void));
+extern void m68k_elf_final_processing (void);
 #endif
 
 #else /* ! BFD_ASSEMBLER */
@@ -198,10 +198,10 @@ extern void m68k_elf_final_processing PARAMS ((void));
 
 #define DIFF_EXPR_OK
 
-extern void m68k_init_after_args PARAMS ((void));
+extern void m68k_init_after_args (void);
 #define tc_init_after_args m68k_init_after_args
 
-extern int m68k_parse_long_option PARAMS ((char *));
+extern int m68k_parse_long_option (char *);
 #define md_parse_long_option m68k_parse_long_option
 
 #define md_operand(x)