diff options
Diffstat (limited to 'random.c')
-rw-r--r-- | random.c | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -3,7 +3,7 @@ random.c - $Author: matz $ - $Date: 1994/08/12 04:47:48 $ + $Date: 1994/10/14 10:00:59 $ created at: Fri Dec 24 16:39:21 JST 1993 Copyright (C) 1994 Yukihiro Matsumoto @@ -73,8 +73,8 @@ Frand(obj, max) Init_Random() { - extern VALUE C_Kernel; + extern VALUE C_Builtin; - rb_define_method(C_Kernel, "srand", Fsrand, -2); - rb_define_method(C_Kernel, "rand", Frand, 1); + rb_define_method(C_Builtin, "srand", Fsrand, -2); + rb_define_method(C_Builtin, "rand", Frand, 1); } |