aboutsummaryrefslogtreecommitdiffstats
path: root/st.c
diff options
context:
space:
mode:
authornari <nari@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2014-09-21 09:22:42 +0000
committernari <nari@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2014-09-21 09:22:42 +0000
commita5c91a3811fa80214a6cce5b8b5ba2e5e1642423 (patch)
treed5f29bbe4246e8e7685a6204e62ee5920cdbb326 /st.c
parent8e7362ac37c759ba1b65f717f63c6e73af777569 (diff)
downloadruby-a5c91a3811fa80214a6cce5b8b5ba2e5e1642423.tar.gz
* st.c (numberof): unused. internal.h has same macro.
* node.c (F_CUSTOM2): unused. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47673 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'st.c')
-rw-r--r--st.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/st.c b/st.c
index 9f21a96196..15ae6949eb 100644
--- a/st.c
+++ b/st.c
@@ -83,8 +83,6 @@ static void rehash(st_table *);
#define free(x) xfree(x)
#endif
-#define numberof(array) (int)(sizeof(array) / sizeof((array)[0]))
-
#define EQUAL(table,x,y) ((x)==(y) || (*(table)->type->compare)((x),(y)) == 0)
#define do_hash(key,table) (st_index_t)(*(table)->type->hash)((key))