* tree.c (type_hash_lookup, type_hash_add): Make static.
* tree.h (type_hash_lookup, type_hash_add): Remove global declarations.
From-SVN: r197623
+2013-04-09 Maxim Kuvyrkov <maxim@kugelworks.com>
+
+ * tree.c (type_hash_lookup, type_hash_add): Make static.
+ * tree.h (type_hash_lookup, type_hash_add): Remove global declarations.
+
2013-04-09 Richard Biener <rguenther@suse.de>
* tree.h (unsave_expr_now): Remove.
/* Look in the type hash table for a type isomorphic to TYPE.
If one is found, return it. Otherwise return 0. */
-tree
+static tree
type_hash_lookup (hashval_t hashcode, tree type)
{
struct type_hash *h, in;
/* Add an entry to the type-hash-table
for a type TYPE whose hash code is HASHCODE. */
-void
+static void
type_hash_add (hashval_t hashcode, tree type)
{
struct type_hash *h;
extern int compare_tree_int (const_tree, unsigned HOST_WIDE_INT);
extern int type_list_equal (const_tree, const_tree);
extern int chain_member (const_tree, const_tree);
-extern tree type_hash_lookup (unsigned int, tree);
-extern void type_hash_add (unsigned int, tree);
extern int simple_cst_list_equal (const_tree, const_tree);
extern void dump_tree_statistics (void);
extern void recompute_tree_invariant_for_addr_expr (tree);