aboutsummaryrefslogtreecommitdiff
path: root/gcc/tree.c
diff options
context:
space:
mode:
authorMaxim Kuvyrkov <maxim@kugelworks.com>2013-04-09 09:47:33 +0000
committerMaxim Kuvyrkov <mkuvyrkov@gcc.gnu.org>2013-04-09 09:47:33 +0000
commit343881fd9eb2b7e8f90ac10cd17688b3dcce3186 (patch)
treec1a9eb28c1fee19e440a43c754dd195d1a95380f /gcc/tree.c
parent3922658a2b5ccb2ca2ee19b4d757358bc7ae193b (diff)
downloadgcc-343881fd9eb2b7e8f90ac10cd17688b3dcce3186.zip
gcc-343881fd9eb2b7e8f90ac10cd17688b3dcce3186.tar.gz
gcc-343881fd9eb2b7e8f90ac10cd17688b3dcce3186.tar.bz2
tree.c (type_hash_lookup, [...]): Make static.
* tree.c (type_hash_lookup, type_hash_add): Make static. * tree.h (type_hash_lookup, type_hash_add): Remove global declarations. From-SVN: r197623
Diffstat (limited to 'gcc/tree.c')
-rw-r--r--gcc/tree.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/tree.c b/gcc/tree.c
index 65bc15f..078caae 100644
--- a/gcc/tree.c
+++ b/gcc/tree.c
@@ -6293,7 +6293,7 @@ type_hash_hash (const void *item)
/* 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;
@@ -6315,7 +6315,7 @@ type_hash_lookup (hashval_t hashcode, tree type)
/* 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;