summaryrefslogtreecommitdiff
path: root/complex.c
diff options
context:
space:
mode:
authoryugui <yugui@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2008-10-29 16:26:51 +0000
committeryugui <yugui@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2008-10-29 16:26:51 +0000
commit2e42037f3d54b52800d4032cf36f52cd3bfaf1aa (patch)
treebffd253762570bc258a6ee9142bea237a87d9752 /complex.c
parentc435bcba9adcd735a815ceeb85fc584b9f822eac (diff)
merged r20020 from trunk into ruby_1_9_1.
* complex.c (imp1, imp2): should declare type. [BUG] at IA-64 git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_1@20041 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'complex.c')
-rw-r--r--complex.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/complex.c b/complex.c
index b4ac3e95e5..95a278e3ac 100644
--- a/complex.c
+++ b/complex.c
@@ -429,7 +429,7 @@ nucomp_f_complex(int argc, VALUE *argv, VALUE klass)
#define imp1(n) \
extern VALUE rb_math_##n(VALUE x);\
inline static VALUE \
-m_##n##_bang(x)\
+m_##n##_bang(VALUE x)\
{\
return rb_math_##n(x);\
}
@@ -437,7 +437,7 @@ m_##n##_bang(x)\
#define imp2(n) \
extern VALUE rb_math_##n(VALUE x, VALUE y);\
inline static VALUE \
-m_##n##_bang(x, y)\
+m_##n##_bang(VALUE x, VALUE y)\
{\
return rb_math_##n(x, y);\
}