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.h | |
parent | 861ea9c877f1c72383a4e7fba46531f7b5d638ea (diff) | |
download | gdb-4c665b71b1b907fcd4a7d56e10c310ace08addd9.zip gdb-4c665b71b1b907fcd4a7d56e10c310ace08addd9.tar.gz gdb-4c665b71b1b907fcd4a7d56e10c310ace08addd9.tar.bz2 |
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.h')
-rw-r--r-- | gas/hash.h | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -1,5 +1,5 @@ /* hash.h -- header file for gas hash table routines - Copyright 1987, 1992, 1993, 1995, 1999, 2003, 2005, 2007, 2008 + Copyright 1987, 1992, 1993, 1995, 1999, 2003, 2005, 2007, 2008, 2013 Free Software Foundation, Inc. This file is part of GAS, the GNU Assembler. @@ -31,6 +31,7 @@ void set_gas_hash_table_size (unsigned long); /* Create a hash table. This return a control block. */ extern struct hash_control *hash_new (void); +extern struct hash_control *hash_new_sized (unsigned long); /* Delete a hash table, freeing all allocated memory. */ |