From bd15d4ca78dd8a9c60e0edf8814fb8e971d35097 Mon Sep 17 00:00:00 2001 From: akr Date: Fri, 7 Jun 2013 10:01:19 +0000 Subject: * internal.h (numberof): Gathered from various files. * array.c, math.c, thread_pthread.c, iseq.c, enum.c, string.c, io.c, load.c, compile.c, struct.c, eval.c, gc.c, parse.y, process.c, error.c, ruby.c: Remove the definitions of numberof. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41142 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- array.c | 2 -- 1 file changed, 2 deletions(-) (limited to 'array.c') diff --git a/array.c b/array.c index ae1f8c1fff..345a60bfc6 100644 --- a/array.c +++ b/array.c @@ -24,8 +24,6 @@ #endif #include -#define numberof(array) (int)(sizeof(array) / sizeof((array)[0])) - VALUE rb_cArray; static ID id_cmp, id_div, id_power; -- cgit v1.2.3