This is the mail archive of the binutils@sources.redhat.com mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

m68k gas cleanups


Likewise, updating the m68k parts of gas.

Ben


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.

Index: m68k-parse.h
===================================================================
RCS file: /cvs/src/src/gas/config/m68k-parse.h,v
retrieving revision 1.8
diff -u -p -r1.8 m68k-parse.h
--- m68k-parse.h	5 May 2005 09:12:52 -0000	1.8
+++ m68k-parse.h	23 Jun 2005 11:38:41 -0000
@@ -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: m68k-parse.y
===================================================================
RCS file: /cvs/src/src/gas/config/m68k-parse.y,v
retrieving revision 1.8
diff -u -p -r1.8 m68k-parse.y
--- m68k-parse.y	5 May 2005 09:12:52 -0000	1.8
+++ m68k-parse.y	23 Jun 2005 11:38:41 -0000
@@ -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: tc-m68k.h
===================================================================
RCS file: /cvs/src/src/gas/config/tc-m68k.h,v
retrieving revision 1.18
diff -u -p -r1.18 tc-m68k.h
--- tc-m68k.h	7 Jun 2005 17:54:17 -0000	1.18
+++ tc-m68k.h	23 Jun 2005 11:38:42 -0000
@@ -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
 #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 PA
 
 #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)

Attachment: pgp00000.pgp
Description: PGP signature


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]