* random.c (numberof): Removed.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41157 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
akr 2013-06-07 21:16:12 +00:00
parent 8bc16423cc
commit b0f14c8b58
2 changed files with 4 additions and 1 deletions

View File

@ -1,3 +1,7 @@
Sat Jun 8 06:15:46 2013 Tanaka Akira <akr@fsij.org>
* random.c (numberof): Removed.
Sat Jun 8 06:00:47 2013 Tanaka Akira <akr@fsij.org> Sat Jun 8 06:00:47 2013 Tanaka Akira <akr@fsij.org>
* random.c: include internal.h. * random.c: include internal.h.

View File

@ -271,7 +271,6 @@ rb_genrand_real(void)
#define BDIGMAX ((BDIGIT)-1) #define BDIGMAX ((BDIGIT)-1)
#define roomof(n, m) (int)(((n)+(m)-1) / (m)) #define roomof(n, m) (int)(((n)+(m)-1) / (m))
#define numberof(array) (int)(sizeof(array) / sizeof((array)[0]))
#define SIZEOF_INT32 (31/CHAR_BIT + 1) #define SIZEOF_INT32 (31/CHAR_BIT + 1)
static double static double