summaryrefslogtreecommitdiff
path: root/math.c
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2009-06-16 13:23:04 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2009-06-16 13:23:04 +0000
commit47fc6a3ad0147d34fa9d7716508e0a101285df03 (patch)
tree09fb3871e0a5d40a10d263a05bda36ea4b17c292 /math.c
parenta4349c6b0633f2c21cf5999d719acc7a3bdba126 (diff)
* io.c (rb_io_open), math.c (domain_check), object.c (boot_defclass):
constified. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@23704 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'math.c')
-rw-r--r--math.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/math.c b/math.c
index bf9b598156..9a6d459797 100644
--- a/math.c
+++ b/math.c
@@ -22,10 +22,12 @@ VALUE rb_mMath;
Need_Float(y);\
} while (0)
+static void domain_check _((double x, const char *msg));
+
static void
domain_check(x, msg)
double x;
- char *msg;
+ const char *msg;
{
while(1) {
if (errno) {