diff options
Diffstat (limited to 'ext/mathn')
-rw-r--r-- | ext/mathn/complex/complex.c | 2 | ||||
-rw-r--r-- | ext/mathn/rational/rational.c | 2 |
2 files changed, 4 insertions, 0 deletions
diff --git a/ext/mathn/complex/complex.c b/ext/mathn/complex/complex.c index 5a24c6a351..01ce7d3ca8 100644 --- a/ext/mathn/complex/complex.c +++ b/ext/mathn/complex/complex.c @@ -24,7 +24,9 @@ #define ONE INT2FIX(1) #define TWO INT2FIX(2) +#if 0 VALUE rb_cComplex; +#endif static ID id_abs, id_abs2, id_arg, id_cmp, id_conj, id_convert, id_denominator, id_divmod, id_equal_p, id_expt, id_floor, id_hash, diff --git a/ext/mathn/rational/rational.c b/ext/mathn/rational/rational.c index 7a169f4329..68f471260c 100644 --- a/ext/mathn/rational/rational.c +++ b/ext/mathn/rational/rational.c @@ -30,7 +30,9 @@ #define ONE INT2FIX(1) #define TWO INT2FIX(2) +#if 0 VALUE rb_cRational; +#endif static ID id_abs, id_cmp, id_convert, id_equal_p, id_expt, id_floor, id_format, id_hash, id_idiv, id_inspect, id_integer_p, id_negate, |