summaryrefslogtreecommitdiffstats
path: root/ext/mathn
diff options
context:
space:
mode:
authortadf <tadf@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2008-12-12 23:40:55 +0000
committertadf <tadf@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2008-12-12 23:40:55 +0000
commit36ca5d708756108cb2004fe67b0b85f43811cb8f (patch)
tree6827e4f4203792782c4d68f6a6b4a2f90a844910 /ext/mathn
parentd7cbf727c19d813a27bc69aac807277362fcf5e8 (diff)
downloadruby-36ca5d708756108cb2004fe67b0b85f43811cb8f.tar.gz
ruby-36ca5d708756108cb2004fe67b0b85f43811cb8f.tar.xz
ruby-36ca5d708756108cb2004fe67b0b85f43811cb8f.zip
* complex.c (nucomp_canonicalization): renamed.
* ext/math/complex.c: followed the above change. * rational.c (nurat_canonicalization): renamed. * ext/math/rational.c: followed the above change. * configure.in: defines a new macro. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@20683 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ext/mathn')
-rw-r--r--ext/mathn/complex/complex.c4
-rw-r--r--ext/mathn/rational/rational.c4
2 files changed, 4 insertions, 4 deletions
diff --git a/ext/mathn/complex/complex.c b/ext/mathn/complex/complex.c
index 5ffa5917e..dce494959 100644
--- a/ext/mathn/complex/complex.c
+++ b/ext/mathn/complex/complex.c
@@ -1,7 +1,7 @@
-extern void nucomp_canonicalize(int);
+extern void nucomp_canonicalization(int);
void
Init_complex(void)
{
- nucomp_canonicalize(1);
+ nucomp_canonicalization(1);
}
diff --git a/ext/mathn/rational/rational.c b/ext/mathn/rational/rational.c
index fe6797454..2ac599994 100644
--- a/ext/mathn/rational/rational.c
+++ b/ext/mathn/rational/rational.c
@@ -1,7 +1,7 @@
-extern void nurat_canonicalize(int);
+extern void nurat_canonicalization(int);
void
Init_rational(void)
{
- nurat_canonicalize(1);
+ nurat_canonicalization(1);
}