aboutsummaryrefslogtreecommitdiffstats
path: root/rational.c
diff options
context:
space:
mode:
Diffstat (limited to 'rational.c')
-rw-r--r--rational.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/rational.c b/rational.c
index 01b336a841..de028ee041 100644
--- a/rational.c
+++ b/rational.c
@@ -133,6 +133,12 @@ f_gcd(VALUE x, VALUE y)
/* NOTREACHED */
}
+VALUE
+rb_gcd(VALUE x, VALUE y)
+{
+ return f_gcd(x, y);
+}
+
#define get_dat1(x) \
struct RRational *dat;\
dat = ((struct RRational *)(x))