aboutsummaryrefslogtreecommitdiff
path: root/gas/hash.h
diff options
context:
space:
mode:
authorRoland McGrath <roland@gnu.org>2013-01-10 17:11:17 +0000
committerRoland McGrath <roland@gnu.org>2013-01-10 17:11:17 +0000
commit4c665b71b1b907fcd4a7d56e10c310ace08addd9 (patch)
treec0fcd9ce159299b103c39c9f6f9ffc3c6debab38 /gas/hash.h
parent861ea9c877f1c72383a4e7fba46531f7b5d638ea (diff)
downloadgdb-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.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/gas/hash.h b/gas/hash.h
index fac814e..c7ea7b5 100644
--- a/gas/hash.h
+++ b/gas/hash.h
@@ -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. */