summaryrefslogtreecommitdiff
path: root/random.c
diff options
context:
space:
mode:
authorakr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2013-06-07 21:16:12 (GMT)
committerakr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2013-06-07 21:16:12 (GMT)
commitb0f14c8b58e8fd56f0e4b22dc3b91b4e6162e44e (patch)
tree08e394e2a440dafe31997f276d25a7cef1ea792a /random.c
parent8bc16423cc6c5a85b0ec36575c869409a843bf28 (diff)
* random.c (numberof): Removed.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41157 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'random.c')
-rw-r--r--random.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/random.c b/random.c
index 4b43773..98332c0 100644
--- a/random.c
+++ b/random.c
@@ -271,7 +271,6 @@ rb_genrand_real(void)
#define BDIGMAX ((BDIGIT)-1)
#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)
static double