summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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
/*