diff options
author | Kazu Hirata <kazu@codesourcery.com> | 2003-11-24 03:37:58 +0000 |
---|---|---|
committer | Kazu Hirata <kazu@codesourcery.com> | 2003-11-24 03:37:58 +0000 |
commit | 71b6545fa9a8ceec439b018bea811c2979476448 (patch) | |
tree | 3fc702710a3293d6739f8f0e4eb00686ab27e2f7 /gas/itbl-ops.c | |
parent | 93a9842950e62cf8c365a2de037af1fafc06dca3 (diff) | |
download | binutils-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.c')
-rw-r--r-- | gas/itbl-ops.c | 32 |
1 files changed, 15 insertions, 17 deletions
diff --git a/gas/itbl-ops.c b/gas/itbl-ops.c index 2d1ae45559..089bff4aac 100644 --- a/gas/itbl-ops.c +++ b/gas/itbl-ops.c @@ -154,23 +154,21 @@ static struct itbl_entry *entries[e_nprocs][e_ntypes] = { }; /* local prototypes */ -static unsigned long build_opcode PARAMS ((struct itbl_entry *e)); -static e_type get_type PARAMS ((int yytype)); -static e_processor get_processor PARAMS ((int yyproc)); -static struct itbl_entry **get_entries PARAMS ((e_processor processor, - e_type type)); -static struct itbl_entry *find_entry_byname PARAMS ((e_processor processor, - e_type type, char *name)); -static struct itbl_entry *find_entry_byval PARAMS ((e_processor processor, - e_type type, unsigned long val, struct itbl_range *r)); -static struct itbl_entry *alloc_entry PARAMS ((e_processor processor, - e_type type, char *name, unsigned long value)); -static unsigned long apply_range PARAMS ((unsigned long value, - struct itbl_range r)); -static unsigned long extract_range PARAMS ((unsigned long value, - struct itbl_range r)); -static struct itbl_field *alloc_field PARAMS ((e_type type, int sbit, - int ebit, unsigned long flags)); +static unsigned long build_opcode (struct itbl_entry *e); +static e_type get_type (int yytype); +static e_processor get_processor (int yyproc); +static struct itbl_entry **get_entries (e_processor processor, + e_type type); +static struct itbl_entry *find_entry_byname (e_processor processor, + e_type type, char *name); +static struct itbl_entry *find_entry_byval (e_processor processor, + e_type type, unsigned long val, struct itbl_range *r); +static struct itbl_entry *alloc_entry (e_processor processor, + e_type type, char *name, unsigned long value); +static unsigned long apply_range (unsigned long value, struct itbl_range r); +static unsigned long extract_range (unsigned long value, struct itbl_range r); +static struct itbl_field *alloc_field (e_type type, int sbit, + int ebit, unsigned long flags); /*======================================================================*/ /* Interfaces to the parser */ |