summaryrefslogtreecommitdiff
path: root/ext/syck/rubyext.c
diff options
context:
space:
mode:
authormatz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2007-03-19 03:58:57 +0000
committermatz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2007-03-19 03:58:57 +0000
commit33163ad123a14488cf163c274d1af56c8e5e7bcb (patch)
tree12198a7c64eeb738685ba20f555dde0587dc5782 /ext/syck/rubyext.c
parenta20ecf3be4aa83647f243ff29fa9d0b23a9b9b63 (diff)
* regparse.c, etc.: K&R to ANSI code cleanup patch from Stefan
Huehner <stefan at huehner.org>. [ruby-core:10543] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@12095 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ext/syck/rubyext.c')
-rw-r--r--ext/syck/rubyext.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/ext/syck/rubyext.c b/ext/syck/rubyext.c
index 371ef15..1966a2d 100644
--- a/ext/syck/rubyext.c
+++ b/ext/syck/rubyext.c
@@ -60,10 +60,10 @@ static VALUE oDefaultResolver, oGenericResolver;
/*
* my private collection of numerical oddities.
*/
-static double S_zero() { return 0.0; }
-static double S_one() { return 1.0; }
-static double S_inf() { return S_one() / S_zero(); }
-static double S_nan() { return S_zero() / S_zero(); }
+static double S_zero(void) { return 0.0; }
+static double S_one(void) { return 1.0; }
+static double S_inf(void) { return S_one() / S_zero(); }
+static double S_nan(void) { return S_zero() / S_zero(); }
static VALUE syck_node_transform( VALUE );