From 12c497dcf68ea7e1f75b2ba100e09b9f133eafe2 Mon Sep 17 00:00:00 2001 From: nobu Date: Tue, 18 Oct 2011 14:28:58 +0000 Subject: * hash.c (identhash): share with type_numhash. * st.c (st_hashtype_num): rename from type_numhash. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33476 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- st.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'st.c') diff --git a/st.c b/st.c index 8394cc6b72..0186667ef1 100644 --- a/st.c +++ b/st.c @@ -38,7 +38,8 @@ struct st_table_entry { * */ -static const struct st_hash_type type_numhash = { +#define type_numhash st_hashtype_num +const struct st_hash_type st_hashtype_num = { st_numcmp, st_numhash, }; -- cgit v1.2.3