From 46f8afdc56c29dbd5e18ed910f8418f49f854dc5 Mon Sep 17 00:00:00 2001 From: usa Date: Mon, 27 Oct 2008 11:07:37 +0000 Subject: * 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 --- ChangeLog | 8 ++++++++ ext/mathn/complex/complex.c | 2 ++ ext/mathn/rational/rational.c | 2 ++ 3 files changed, 12 insertions(+) diff --git a/ChangeLog b/ChangeLog index 8e49b125b7..f3de6635d0 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,11 @@ +Mon Oct 27 20:03:05 2008 NAKAMURA Usaku + + * 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. + Mon Oct 27 15:58:25 2008 Nobuyoshi Nakada * ruby.c (load_file): preserves $.. [ruby-dev:36937] 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, -- cgit v1.2.3