diff options
author | usa <usa@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2008-10-27 11:07:37 +0000 |
---|---|---|
committer | usa <usa@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2008-10-27 11:07:37 +0000 |
commit | 46f8afdc56c29dbd5e18ed910f8418f49f854dc5 (patch) | |
tree | 54f2b8f6dd96dd42bf1cf9d33fb9b571a1f1ca7c /ext/mathn/rational | |
parent | 85101b76259d62e03a746524bf75c77f1fb302b7 (diff) | |
download | ruby-46f8afdc56c29dbd5e18ed910f8418f49f854dc5.tar.gz |
* ext/mathn/complex/complex.c: no need to define rb_cComplex because
it's already defined at $(srcdir)/complex.c.
* ext/mathn/rational/rational.c: no need to define rb_cRational because
it's already defined at $(srcdir)/rational.c.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19967 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ext/mathn/rational')
-rw-r--r-- | ext/mathn/rational/rational.c | 2 |
1 files changed, 2 insertions, 0 deletions
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, |