summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
author卜部昌平 <shyouhei@ruby-lang.org>2021-02-25 16:16:05 +0900
committer卜部昌平 <shyouhei@ruby-lang.org>2021-02-25 16:26:54 +0900
commit294c244ac805c0b9c327cd92bc87fe2c7c4eb95f (patch)
tree10a471e9aa2ab5e4a2460a7829008331ef9c3ba6 /include
parent08d5db4064a76649effef1bf2ab79f04cd848a6a (diff)
rb_random_int: ended before it begins
It existed since f3d022543ef2afde3d53e7f6b3028eafe39d0ef4 until 96760236079b15674a6322a2ca41b1528b51afbd. No official releases included the actual function. The declaration shall be deleted.
Diffstat (limited to 'include')
-rw-r--r--include/ruby/internal/intern/random.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/include/ruby/internal/intern/random.h b/include/ruby/internal/intern/random.h
index 25c52f4ce4..6482a8f6e8 100644
--- a/include/ruby/internal/intern/random.h
+++ b/include/ruby/internal/intern/random.h
@@ -34,7 +34,6 @@ unsigned int rb_genrand_int32(void);
double rb_genrand_real(void);
void rb_reset_random_seed(void);
VALUE rb_random_bytes(VALUE rnd, long n);
-VALUE rb_random_int(VALUE rnd, VALUE max);
unsigned int rb_random_int32(VALUE rnd);
double rb_random_real(VALUE rnd);
unsigned long rb_random_ulong_limited(VALUE rnd, unsigned long limit);