summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authortadf <tadf@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2014-05-05 08:28:56 (GMT)
committertadf <tadf@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2014-05-05 08:28:56 (GMT)
commita210f7c225b0328ac16748c21e68c28f2236454e (patch)
treec6fe0d877fa58bc9da0a5c55a7b633990bf7689a
parent78fa967224346125da161e4e7e7512a912afbd9b (diff)
* math.c (rb_math_sqrt): omitted exporting an unused function,
anyway. * internal.h: follows the above change. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45825 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-rw-r--r--ChangeLog6
-rw-r--r--internal.h2
-rw-r--r--math.c2
3 files changed, 10 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index 73b959b..9605862 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+Mon May 5 17:26:09 2014 Tadayoshi Funaba <tadf@dotrb.org>
+
+ * math.c (rb_math_sqrt): omitted exporting an unused function,
+ anyway.
+ * internal.h: follows the above change.
+
Mon May 5 11:44:03 2014 Tanaka Akira <akr@fsij.org>
* lib/time.rb (Time.strptime): Raise ArgumentError if Date._strptime
diff --git a/internal.h b/internal.h
index b02f926..5a89da4 100644
--- a/internal.h
+++ b/internal.h
@@ -635,7 +635,9 @@ VALUE rb_math_hypot(VALUE, VALUE);
VALUE rb_math_log(int argc, VALUE *argv);
VALUE rb_math_sin(VALUE);
VALUE rb_math_sinh(VALUE);
+#if 0
VALUE rb_math_sqrt(VALUE);
+#endif
/* newline.c */
void Init_newline(void);
diff --git a/math.c b/math.c
index e1fa74f..8911de1 100644
--- a/math.c
+++ b/math.c
@@ -926,7 +926,9 @@ rb_math_log(int argc, VALUE *argv)
exp1(sin)
exp1(sinh)
+#if 0
exp1(sqrt)
+#endif
/*