daily update
[deliverable/binutils-gdb.git] / bfd / hash.c
index 6a4bd702d73def4d5b146a056f053a1496ec2af2..2b06b922ce3efff387eb065183646fcbfd0772bd 100644 (file)
@@ -54,7 +54,6 @@ SECTION
 @* Looking Up or Entering a String::
 @* Traversing a Hash Table::
 @* Deriving a New Hash Table Type::
-@* Changing the default Hash Table Size::
 @end menu
 
 INODE
@@ -505,12 +504,12 @@ bfd_hash_traverse (table, func, info)
 void
 bfd_hash_set_default_size (bfd_size_type hash_size)
 {
-  int index;
   /* Extend this prime list if you want more granularity of hash table size.  */
-  static bfd_size_type hash_size_primes[] =
+  static const bfd_size_type hash_size_primes[] =
     {
       1021, 4051, 8599, 16699
     };
+  size_t index;
 
   /* Work out best prime number near the hash_size.  */
   for (index = 0; index < ARRAY_SIZE (hash_size_primes) - 1; ++index)
This page took 0.023356 seconds and 4 git commands to generate.