* tree.c (init_tree): Use ARRAY_SIZE.

From-SVN: r35989
This commit is contained in:
Greg McGary 2000-08-25 19:07:56 +00:00 committed by Greg McGary
parent 945745458e
commit b5232c64e7
2 changed files with 5 additions and 1 deletions

View File

@ -1,3 +1,7 @@
2000-08-25 Greg McGary <greg@mcgary.org>
* tree.c (init_tree): Use ARRAY_SIZE.
2000-08-25 Gabriel Dos Reis <gdr@codesourcery.com>
* error.c (cp_tree_printer): Rework.

View File

@ -2376,7 +2376,7 @@ init_tree ()
make_lang_type_fn = cp_make_lang_type;
lang_unsave = cp_unsave;
ggc_add_root (list_hash_table,
sizeof (list_hash_table) / sizeof (struct list_hash *),
ARRAY_SIZE (list_hash_table),
sizeof (struct list_hash *),
mark_list_hash);
}