aboutsummaryrefslogtreecommitdiff
path: root/gas/config/tc-mmix.h
diff options
context:
space:
mode:
authorHans-Peter Nilsson <hp@axis.com>2005-03-25 11:50:53 +0000
committerHans-Peter Nilsson <hp@axis.com>2005-03-25 11:50:53 +0000
commitff1e783f277ce5218d9a5a26c7a68cb8bad43e62 (patch)
tree0470876e6b2bfd5abea898343ecf857e907a8ba4 /gas/config/tc-mmix.h
parent9a237d9e655826cd7fa0da39bad086a27a4d3ec9 (diff)
downloadgdb-ff1e783f277ce5218d9a5a26c7a68cb8bad43e62.zip
gdb-ff1e783f277ce5218d9a5a26c7a68cb8bad43e62.tar.gz
gdb-ff1e783f277ce5218d9a5a26c7a68cb8bad43e62.tar.bz2
* config/tc-mmix.c, config/tc-mmix.h: Convert to ISO C90.
Diffstat (limited to 'gas/config/tc-mmix.h')
-rw-r--r--gas/config/tc-mmix.h34
1 files changed, 17 insertions, 17 deletions
diff --git a/gas/config/tc-mmix.h b/gas/config/tc-mmix.h
index c6d222f..33003a3 100644
--- a/gas/config/tc-mmix.h
+++ b/gas/config/tc-mmix.h
@@ -1,5 +1,5 @@
/* tc-mmix.h -- Header file for tc-mmix.c.
- Copyright (C) 2001, 2002, 2003 Free Software Foundation, Inc.
+ Copyright (C) 2001, 2002, 2003, 2005 Free Software Foundation, Inc.
Written by Hans-Peter Nilsson (hp@bitrange.com).
This file is part of GAS, the GNU Assembler.
@@ -41,25 +41,25 @@ extern const char mmix_flt_chars[];
/* "@" is a synonym for ".". */
#define LEX_AT (LEX_BEGIN_NAME)
-extern int mmix_label_without_colon_this_line PARAMS ((void));
+extern int mmix_label_without_colon_this_line (void);
#define LABELS_WITHOUT_COLONS mmix_label_without_colon_this_line ()
extern int mmix_next_semicolon_is_eoln;
#define TC_EOL_IN_INSN(p) (*(p) == ';' && ! mmix_next_semicolon_is_eoln)
/* This is one direction we can get mmixal compatibility. */
-extern void mmix_handle_mmixal PARAMS ((void));
+extern void mmix_handle_mmixal (void);
#define md_start_line_hook mmix_handle_mmixal
-extern void mmix_md_begin PARAMS ((void));
+extern void mmix_md_begin (void);
#define md_begin mmix_md_begin
-extern void mmix_md_end PARAMS ((void));
+extern void mmix_md_end (void);
#define md_end mmix_md_end
extern int mmix_current_location \
- PARAMS ((void (*fn) (expressionS *), expressionS *));
-extern int mmix_parse_predefined_name PARAMS ((char *, expressionS *));
+ (void (*fn) (expressionS *), expressionS *);
+extern int mmix_parse_predefined_name (char *, expressionS *);
extern char *mmix_current_prefix;
@@ -78,7 +78,7 @@ extern int mmix_gnu_syntax;
: ((name[0] == ':' || ISUPPER (name[0])) \
&& mmix_parse_predefined_name (name, exp))))
-extern char *mmix_prefix_name PARAMS ((char *));
+extern char *mmix_prefix_name (char *);
/* We implement when *creating* a symbol, we also need to strip a ':' or
prepend a prefix. */
@@ -87,7 +87,7 @@ extern char *mmix_prefix_name PARAMS ((char *));
#define md_undefined_symbol(x) NULL
-extern void mmix_fb_label PARAMS ((expressionS *));
+extern void mmix_fb_label (expressionS *);
/* Since integer_constant is local to expr.c, we have to make this a
macro. FIXME: Do it cleaner. */
@@ -110,7 +110,7 @@ extern void mmix_fb_label PARAMS ((expressionS *));
/* Gas dislikes the 2ADD, 8ADD etc. insns, so we have to assemble them in
the error-recovery loop. Hopefully there are no significant
differences. Also, space on a line isn't gracefully handled. */
-extern int mmix_assemble_return_nonzero PARAMS ((char *));
+extern int mmix_assemble_return_nonzero (char *);
#define tc_unrecognized_line(c) \
((c) == ' ' \
|| (((c) == '1' || (c) == '2' || (c) == '4' || (c) == '8') \
@@ -124,7 +124,7 @@ extern const struct relax_type mmix_relax_table[];
#define TC_GENERIC_RELAX_TABLE mmix_relax_table
/* We use the relax table for everything except the GREG frags and PUSHJ. */
-extern long mmix_md_relax_frag PARAMS ((segT, fragS *, long));
+extern long mmix_md_relax_frag (segT, fragS *, long);
#define md_relax_frag mmix_md_relax_frag
#define tc_fix_adjustable(FIX) \
@@ -136,7 +136,7 @@ extern long mmix_md_relax_frag PARAMS ((segT, fragS *, long));
/* Adjust symbols which are registers. */
#define tc_adjust_symtab() mmix_adjust_symtab ()
-extern void mmix_adjust_symtab PARAMS ((void));
+extern void mmix_adjust_symtab (void);
/* Here's where we make all symbols global, when so requested.
We must avoid doing that for expression symbols or section symbols,
@@ -170,11 +170,11 @@ extern int mmix_globalize_symbols;
/* When relaxing, we need to emit various relocs we otherwise wouldn't. */
#define TC_FORCE_RELOCATION(fix) mmix_force_relocation (fix)
-extern int mmix_force_relocation PARAMS ((struct fix *));
+extern int mmix_force_relocation (struct fix *);
/* Call md_pcrel_from_section(), not md_pcrel_from(). */
#define MD_PCREL_FROM_SECTION(FIX, SEC) md_pcrel_from_section (FIX, SEC)
-extern long md_pcrel_from_section PARAMS ((struct fix *, segT));
+extern long md_pcrel_from_section (struct fix *, segT);
#define md_section_align(seg, size) (size)
@@ -192,7 +192,7 @@ extern fragS *mmix_opcode_frag;
all symbols have been evaluated and all frags mapped, and when the
fixups are done and relocs are output. Similarly for each unknown
symbol. */
-extern void mmix_frob_file PARAMS ((void));
+extern void mmix_frob_file (void);
#define tc_frob_file_before_fix mmix_frob_file
/* Used by mmix_frob_file. Hangs on section symbols and unknown symbols. */
@@ -210,10 +210,10 @@ struct mmix_segment_info_type
};
#define TC_SEGMENT_INFO_TYPE struct mmix_segment_info_type
-extern void mmix_md_elf_section_change_hook PARAMS ((void));
+extern void mmix_md_elf_section_change_hook (void);
#define md_elf_section_change_hook mmix_md_elf_section_change_hook
-extern void mmix_md_do_align PARAMS ((int, char *, int, int));
+extern void mmix_md_do_align (int, char *, int, int);
#define md_do_align(n, fill, len, max, label) \
mmix_md_do_align (n, fill, len, max)