diff options
Diffstat (limited to 'ext/win32ole')
-rw-r--r-- | ext/win32ole/win32ole.c | 2 | ||||
-rw-r--r-- | ext/win32ole/win32ole_event.c | 2 | ||||
-rw-r--r-- | ext/win32ole/win32ole_param.c | 2 | ||||
-rw-r--r-- | ext/win32ole/win32ole_record.c | 2 | ||||
-rw-r--r-- | ext/win32ole/win32ole_typelib.c | 2 | ||||
-rw-r--r-- | ext/win32ole/win32ole_variant.c | 2 |
6 files changed, 6 insertions, 6 deletions
diff --git a/ext/win32ole/win32ole.c b/ext/win32ole/win32ole.c index 72b67fb2eb..b21d4385cc 100644 --- a/ext/win32ole/win32ole.c +++ b/ext/win32ole/win32ole.c @@ -375,7 +375,7 @@ static /* [local] */ HRESULT ( STDMETHODCALLTYPE Invoke )( } BOOL -ole_initialized() +ole_initialized(void) { return g_ole_initialized; } diff --git a/ext/win32ole/win32ole_event.c b/ext/win32ole/win32ole_event.c index 55b884ff1b..ad9cb3d3f8 100644 --- a/ext/win32ole/win32ole_event.c +++ b/ext/win32ole/win32ole_event.c @@ -1240,7 +1240,7 @@ fev_get_handler(VALUE self) } void -Init_win32ole_event() +Init_win32ole_event(void) { ary_ole_event = rb_ary_new(); rb_gc_register_mark_object(ary_ole_event); diff --git a/ext/win32ole/win32ole_param.c b/ext/win32ole/win32ole_param.c index 661bd23578..9d28a89161 100644 --- a/ext/win32ole/win32ole_param.c +++ b/ext/win32ole/win32ole_param.c @@ -400,7 +400,7 @@ foleparam_inspect(VALUE self) } void -Init_win32ole_param() +Init_win32ole_param(void) { cWIN32OLE_PARAM = rb_define_class("WIN32OLE_PARAM", rb_cObject); rb_define_alloc_func(cWIN32OLE_PARAM, foleparam_s_allocate); diff --git a/ext/win32ole/win32ole_record.c b/ext/win32ole/win32ole_record.c index b7ce75bbee..3944ffadf6 100644 --- a/ext/win32ole/win32ole_record.c +++ b/ext/win32ole/win32ole_record.c @@ -563,7 +563,7 @@ folerecord_inspect(VALUE self) } void -Init_win32ole_record() +Init_win32ole_record(void) { cWIN32OLE_RECORD = rb_define_class("WIN32OLE_RECORD", rb_cObject); rb_define_alloc_func(cWIN32OLE_RECORD, folerecord_s_allocate); diff --git a/ext/win32ole/win32ole_typelib.c b/ext/win32ole/win32ole_typelib.c index f5ecd4c05c..9a8fdd56c3 100644 --- a/ext/win32ole/win32ole_typelib.c +++ b/ext/win32ole/win32ole_typelib.c @@ -811,7 +811,7 @@ foletypelib_inspect(VALUE self) } void -Init_win32ole_typelib() +Init_win32ole_typelib(void) { cWIN32OLE_TYPELIB = rb_define_class("WIN32OLE_TYPELIB", rb_cObject); rb_define_singleton_method(cWIN32OLE_TYPELIB, "typelibs", foletypelib_s_typelibs, 0); diff --git a/ext/win32ole/win32ole_variant.c b/ext/win32ole/win32ole_variant.c index b0cc5ee5df..ef5227b5c9 100644 --- a/ext/win32ole/win32ole_variant.c +++ b/ext/win32ole/win32ole_variant.c @@ -665,7 +665,7 @@ folevariant_set_value(VALUE self, VALUE val) } void -Init_win32ole_variant() +Init_win32ole_variant(void) { cWIN32OLE_VARIANT = rb_define_class("WIN32OLE_VARIANT", rb_cObject); rb_define_alloc_func(cWIN32OLE_VARIANT, folevariant_s_allocate); |