aboutsummaryrefslogtreecommitdiffstats
path: root/ext/win32ole/win32ole_event.c
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2014-10-04 23:29:24 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2014-10-04 23:29:24 +0000
commitba0655ebdd31e5e6b9ae8ede328733067a68dcbc (patch)
tree70110dc331553c9f3ff47a9ab3b479ab56b7090e /ext/win32ole/win32ole_event.c
parent5540c1de81f69e160c2302e56e4957147f240450 (diff)
downloadruby-ba0655ebdd31e5e6b9ae8ede328733067a68dcbc.tar.gz
ext: protoize no-arguments functions
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47793 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ext/win32ole/win32ole_event.c')
-rw-r--r--ext/win32ole/win32ole_event.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/ext/win32ole/win32ole_event.c b/ext/win32ole/win32ole_event.c
index ad9cb3d3f8..2cceae7af7 100644
--- a/ext/win32ole/win32ole_event.c
+++ b/ext/win32ole/win32ole_event.c
@@ -283,7 +283,8 @@ STDMETHODIMP EVENTSINK_GetIDsOfNames(
}
PIEVENTSINKOBJ
-EVENTSINK_Constructor() {
+EVENTSINK_Constructor(void)
+{
PIEVENTSINKOBJ pEv;
if (!g_IsEventSinkVtblInitialized) {
vtEventSink.QueryInterface=EVENTSINK_QueryInterface;
@@ -976,7 +977,8 @@ fev_initialize(int argc, VALUE *argv, VALUE self)
}
static void
-ole_msg_loop() {
+ole_msg_loop(void)
+{
MSG msg;
while(PeekMessage(&msg,NULL,0,0,PM_REMOVE)) {
TranslateMessage(&msg);