summaryrefslogtreecommitdiff
path: root/ext/stringio
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2014-09-30 05:25:32 (GMT)
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2014-09-30 05:25:32 (GMT)
commit28b9f11d5a4b878adb50a3e5472ceea8c462ed4a (patch)
tree0089b9a1bce84d5ec72badeae44b4e08f08a9c33 /ext/stringio
parentcf5450bb7c86c4eb83f0d468c73d987e4a3e7344 (diff)
protoize no-arguments functions
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47744 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ext/stringio')
-rw-r--r--ext/stringio/stringio.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/stringio/stringio.c b/ext/stringio/stringio.c
index b426214..bf39a87 100644
--- a/ext/stringio/stringio.c
+++ b/ext/stringio/stringio.c
@@ -1512,7 +1512,7 @@ strio_set_encoding(int argc, VALUE *argv, VALUE self)
* io.string #=> "Hello World"
*/
void
-Init_stringio()
+Init_stringio(void)
{
VALUE StringIO = rb_define_class("StringIO", rb_cData);