diff options
author | Roland McGrath <roland@gnu.org> | 2013-01-10 17:11:17 +0000 |
---|---|---|
committer | Roland McGrath <roland@gnu.org> | 2013-01-10 17:11:17 +0000 |
commit | 4c665b71b1b907fcd4a7d56e10c310ace08addd9 (patch) | |
tree | c0fcd9ce159299b103c39c9f6f9ffc3c6debab38 /gas/hash.c | |
parent | 861ea9c877f1c72383a4e7fba46531f7b5d638ea (diff) | |
download | binutils-gdb-4c665b71b1b907fcd4a7d56e10c310ace08addd9.tar.gz |
gas/
* hash.c (hash_new_sized): Make it global.
* hash.h: Declare it.
* macro.c (define_macro): Use hash_new_sized instead of hash_new,
pass a small size.
Diffstat (limited to 'gas/hash.c')
-rw-r--r-- | gas/hash.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gas/hash.c b/gas/hash.c index a58c9489b6a..bae83867d51 100644 --- a/gas/hash.c +++ b/gas/hash.c @@ -1,6 +1,6 @@ /* hash.c -- gas hash table code Copyright 1987, 1990, 1991, 1992, 1993, 1994, 1995, 1996, 1998, 1999, - 2000, 2001, 2002, 2003, 2005, 2007, 2008, 2009, 2011 + 2000, 2001, 2002, 2003, 2005, 2007, 2008, 2009, 2011, 2013 Free Software Foundation, Inc. This file is part of GAS, the GNU Assembler. @@ -83,7 +83,7 @@ set_gas_hash_table_size (unsigned long size) /* Create a hash table. This return a control block. */ -static struct hash_control * +struct hash_control * hash_new_sized (unsigned long size) { unsigned long alloc; |