diff options
author | akr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2013-06-07 10:01:19 +0000 |
---|---|---|
committer | akr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2013-06-07 10:01:19 +0000 |
commit | bd15d4ca78dd8a9c60e0edf8814fb8e971d35097 (patch) | |
tree | d170cde9a94bb36ba5baf58fb562278f74ce5ae1 /io.c | |
parent | 8e65ff7e312b1d18f7aec9d8bac066ef13cb6705 (diff) |
* 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
Diffstat (limited to 'io.c')
-rw-r--r-- | io.c | 2 |
1 files changed, 0 insertions, 2 deletions
@@ -119,8 +119,6 @@ off_t __syscall(quad_t number, ...); #endif -#define numberof(array) (int)(sizeof(array) / sizeof((array)[0])) - #define IO_RBUF_CAPA_MIN 8192 #define IO_CBUF_CAPA_MIN (128*1024) #define IO_RBUF_CAPA_FOR(fptr) (NEED_READCONV(fptr) ? IO_CBUF_CAPA_MIN : IO_RBUF_CAPA_MIN) |