diff options
author | Roland McGrath <roland@gnu.org> | 2013-01-10 17:11:16 +0000 |
---|---|---|
committer | Roland McGrath <roland@gnu.org> | 2013-01-10 17:11:16 +0000 |
commit | 32cf3657a4d3f00cc2c096f01d6151f66ec8a840 (patch) | |
tree | 9165efafaa5e79ab29248fb1ec10cf73c5007390 /gas/hash.c | |
parent | a0194f02843e2b13582300ad4809cdf81f52e5b4 (diff) | |
download | binutils-redhat-32cf3657a4d3f00cc2c096f01d6151f66ec8a840.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 a58c9489b6..bae83867d5 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; |