summaryrefslogtreecommitdiff
path: root/ext/win32ole/win32ole_event.c
diff options
context:
space:
mode:
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 ad9cb3d..2cceae7 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);