From a5c91a3811fa80214a6cce5b8b5ba2e5e1642423 Mon Sep 17 00:00:00 2001 From: nari Date: Sun, 21 Sep 2014 09:22:42 +0000 Subject: * 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 --- st.c | 2 -- 1 file changed, 2 deletions(-) (limited to 'st.c') 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)) -- cgit v1.2.3