summaryrefslogtreecommitdiff
path: root/gas/itbl-ops.h
diff options
context:
space:
mode:
authorKazu Hirata <kazu@codesourcery.com>2003-11-24 03:37:58 +0000
committerKazu Hirata <kazu@codesourcery.com>2003-11-24 03:37:58 +0000
commit71b6545fa9a8ceec439b018bea811c2979476448 (patch)
tree3fc702710a3293d6739f8f0e4eb00686ab27e2f7 /gas/itbl-ops.h
parent93a9842950e62cf8c365a2de037af1fafc06dca3 (diff)
downloadbinutils-redhat-71b6545fa9a8ceec439b018bea811c2979476448.tar.gz
* hash.c: Convert to ISO-C.
* hash.h: Likewise. * input-file.c: Likewise. * input-file.h: Likewise. * input-scrub.c: Likewise. * itbl-ops.c: Likewise. * itbl-ops.h: Likewise.
Diffstat (limited to 'gas/itbl-ops.h')
-rw-r--r--gas/itbl-ops.h33
1 files changed, 16 insertions, 17 deletions
diff --git a/gas/itbl-ops.h b/gas/itbl-ops.h
index bcd68fe8ba..4c98d72da1 100644
--- a/gas/itbl-ops.h
+++ b/gas/itbl-ops.h
@@ -86,24 +86,23 @@ extern int itbl_have_entries;
/* These routines are visible to the main part of the assembler */
-int itbl_parse PARAMS ((char *insntbl));
-void itbl_init PARAMS ((void));
-char *itbl_get_field PARAMS ((char **s));
-unsigned long itbl_assemble PARAMS ((char *name, char *operands));
-int itbl_disassemble PARAMS ((char *str, unsigned long insn));
-int itbl_parse PARAMS ((char *tbl)); /* parses insn tbl */
-int itbl_get_reg_val PARAMS ((char *name, unsigned long *pval));
-int itbl_get_val PARAMS ((e_processor processor, e_type type, char *name,
- unsigned long *pval));
-char *itbl_get_name PARAMS ((e_processor processor, e_type type,
- unsigned long val));
+int itbl_parse (char *insntbl);
+void itbl_init (void);
+char *itbl_get_field (char **s);
+unsigned long itbl_assemble (char *name, char *operands);
+int itbl_disassemble (char *str, unsigned long insn);
+int itbl_parse (char *tbl); /* parses insn tbl */
+int itbl_get_reg_val (char *name, unsigned long *pval);
+int itbl_get_val (e_processor processor, e_type type, char *name,
+ unsigned long *pval);
+char *itbl_get_name (e_processor processor, e_type type, unsigned long val);
/* These routines are called by the table parser used to build the
dynamic list of new processor instructions and registers. */
-struct itbl_entry *itbl_add_reg PARAMS ((int yyproc, int yytype,
- char *regname, int regnum));
-struct itbl_entry *itbl_add_insn PARAMS ((int yyproc, char *name,
- unsigned long value, int sbit, int ebit, unsigned long flags));
-struct itbl_field *itbl_add_operand PARAMS ((struct itbl_entry * e, int yytype,
- int sbit, int ebit, unsigned long flags));
+struct itbl_entry *itbl_add_reg (int yyproc, int yytype,
+ char *regname, int regnum);
+struct itbl_entry *itbl_add_insn (int yyproc, char *name,
+ unsigned long value, int sbit, int ebit, unsigned long flags);
+struct itbl_field *itbl_add_operand (struct itbl_entry * e, int yytype,
+ int sbit, int ebit, unsigned long flags);