diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2014-09-30 05:25:32 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2014-09-30 05:25:32 +0000 |
commit | 28b9f11d5a4b878adb50a3e5472ceea8c462ed4a (patch) | |
tree | 0089b9a1bce84d5ec72badeae44b4e08f08a9c33 /ext/tk/tkutil/tkutil.c | |
parent | cf5450bb7c86c4eb83f0d468c73d987e4a3e7344 (diff) | |
download | ruby-28b9f11d5a4b878adb50a3e5472ceea8c462ed4a.tar.gz |
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/tk/tkutil/tkutil.c')
-rw-r--r-- | ext/tk/tkutil/tkutil.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ext/tk/tkutil/tkutil.c b/ext/tk/tkutil/tkutil.c index cb387c5bd4..da05191773 100644 --- a/ext/tk/tkutil/tkutil.c +++ b/ext/tk/tkutil/tkutil.c @@ -1198,7 +1198,7 @@ allocate_cbsubst_info(struct cbsubst_info **inf_ptr) } static void -cbsubst_init() +cbsubst_init(void) { rb_const_set(cCB_SUBST, ID_SUBST_INFO, allocate_cbsubst_info((struct cbsubst_info **)NULL)); @@ -1738,7 +1738,7 @@ tkobj_path(self) const char tkutil_release_date[] = TKUTIL_RELEASE_DATE; void -Init_tkutil() +Init_tkutil(void) { VALUE cTK = rb_define_class("TkKernel", rb_cObject); VALUE mTK = rb_define_module("TkUtil"); |