From 5540c1de81f69e160c2302e56e4957147f240450 Mon Sep 17 00:00:00 2001 From: nobu Date: Sat, 4 Oct 2014 23:09:32 +0000 Subject: ext: protoize no-arguments functions git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47792 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- ext/psych/psych_emitter.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'ext/psych/psych_emitter.c') diff --git a/ext/psych/psych_emitter.c b/ext/psych/psych_emitter.c index f0d032649c..d833b59c06 100644 --- a/ext/psych/psych_emitter.c +++ b/ext/psych/psych_emitter.c @@ -504,7 +504,7 @@ static VALUE set_line_width(VALUE self, VALUE width) return width; } -void Init_psych_emitter() +void Init_psych_emitter(void) { VALUE psych = rb_define_module("Psych"); VALUE handler = rb_define_class_under(psych, "Handler", rb_cObject); -- cgit v1.2.3