diff options
author | YamaArashi <shadow962@live.com> | 2016-02-16 01:03:54 -0800 |
---|---|---|
committer | YamaArashi <shadow962@live.com> | 2016-02-16 01:03:54 -0800 |
commit | ecae31d652106c1f3b7429570de013c3bbf33e7a (patch) | |
tree | 6981957216b10aad71c792714a25c5750611754e /gcc/hash.c | |
parent | 9382e1a90b218b4b93bf53c01ef163925cf224dc (diff) |
get rid of PROTO macros
Diffstat (limited to 'gcc/hash.c')
-rwxr-xr-x | gcc/hash.c | 22 |
1 files changed, 11 insertions, 11 deletions
@@ -37,11 +37,11 @@ Boston, MA 02111-1307, USA. */ boolean hash_table_init_n (table, newfunc, hash, comp, size) struct hash_table *table; - struct hash_entry *(*newfunc) PARAMS ((struct hash_entry *, + struct hash_entry *(*newfunc) (struct hash_entry *, struct hash_table *, - hash_table_key)); - unsigned long (*hash) PARAMS ((hash_table_key)); - boolean (*comp) PARAMS ((hash_table_key, hash_table_key)); + hash_table_key); + unsigned long (*hash) (hash_table_key); + boolean (*comp) (hash_table_key, hash_table_key); unsigned int size; { unsigned int alloc; @@ -72,11 +72,11 @@ hash_table_init_n (table, newfunc, hash, comp, size) boolean hash_table_init (table, newfunc, hash, comp) struct hash_table *table; - struct hash_entry *(*newfunc) PARAMS ((struct hash_entry *, + struct hash_entry *(*newfunc) (struct hash_entry *, struct hash_table *, - hash_table_key)); - unsigned long (*hash) PARAMS ((hash_table_key)); - boolean (*comp) PARAMS ((hash_table_key, hash_table_key)); + hash_table_key); + unsigned long (*hash) (hash_table_key); + boolean (*comp) (hash_table_key, hash_table_key); { return hash_table_init_n (table, newfunc, hash, comp, DEFAULT_SIZE); } @@ -98,8 +98,8 @@ hash_lookup (table, key, create, copy) struct hash_table *table; hash_table_key key; boolean create; - hash_table_key (*copy) PARAMS ((struct obstack* memory, - hash_table_key key)); + hash_table_key (*copy) (struct obstack* memory, + hash_table_key key); { register unsigned long hash; struct hash_entry *hashp; @@ -168,7 +168,7 @@ hash_allocate (table, size) void hash_traverse (table, func, info) struct hash_table *table; - boolean (*func) PARAMS ((struct hash_entry *, hash_table_key)); + boolean (*func) (struct hash_entry *, hash_table_key); PTR info; { unsigned int i; |