summaryrefslogtreecommitdiffstats
path: root/ext/mathn/complex
diff options
context:
space:
mode:
authorusa <usa@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2008-10-27 11:07:37 +0000
committerusa <usa@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2008-10-27 11:07:37 +0000
commit7de38dd3f5e7ce6c035e62a292fa8a8adfb774f5 (patch)
tree54f2b8f6dd96dd42bf1cf9d33fb9b571a1f1ca7c /ext/mathn/complex
parent416c56fd9cc9295c19b6f6d43dca43c5dca73c93 (diff)
downloadruby-7de38dd3f5e7ce6c035e62a292fa8a8adfb774f5.tar.gz
ruby-7de38dd3f5e7ce6c035e62a292fa8a8adfb774f5.tar.xz
ruby-7de38dd3f5e7ce6c035e62a292fa8a8adfb774f5.zip
* 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: http://svn.ruby-lang.org/repos/ruby/trunk@19967 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ext/mathn/complex')
-rw-r--r--ext/mathn/complex/complex.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/ext/mathn/complex/complex.c b/ext/mathn/complex/complex.c
index 5a24c6a35..01ce7d3ca 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,