summaryrefslogtreecommitdiff
path: root/ext/syslog
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2014-10-04 23:09:32 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2014-10-04 23:09:32 +0000
commit5540c1de81f69e160c2302e56e4957147f240450 (patch)
tree8b81149b8a82e21ffb43fd937356a007e13fbb10 /ext/syslog
parent02be147c8af11810ba7becdedc78d2904cdb7b86 (diff)
ext: protoize no-arguments functions
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47792 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ext/syslog')
-rw-r--r--ext/syslog/syslog.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/syslog/syslog.c b/ext/syslog/syslog.c
index 8ef722e..6aa2cd8 100644
--- a/ext/syslog/syslog.c
+++ b/ext/syslog/syslog.c
@@ -418,7 +418,7 @@ static VALUE mSyslogMacros_included(VALUE mod, VALUE target)
*
* The syslog protocol is standardized in RFC 5424.
*/
-void Init_syslog()
+void Init_syslog(void)
{
mSyslog = rb_define_module("Syslog");