[vlc-commits] mmdevice: fix the WINAPI callback type
Steve Lhomme
git at videolan.org
Wed Aug 5 18:10:43 CEST 2015
vlc | branch: master | Steve Lhomme <robux4 at gmail.com> | Fri Jul 31 16:55:04 2015 +0200| [e4ccfa9bbe4bb40e59c261c11136b2b387f41ffe] | committer: Rémi Denis-Courmont
mmdevice: fix the WINAPI callback type
Signed-off-by: Rémi Denis-Courmont <remi at remlab.net>
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=e4ccfa9bbe4bb40e59c261c11136b2b387f41ffe
---
modules/audio_output/mmdevice.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/modules/audio_output/mmdevice.c b/modules/audio_output/mmdevice.c
index d9d3573..ef9be5f 100644
--- a/modules/audio_output/mmdevice.c
+++ b/modules/audio_output/mmdevice.c
@@ -44,10 +44,10 @@ DEFINE_PROPERTYKEY(PKEY_Device_FriendlyName, 0xa45c254e, 0xdf1c, 0x4efd,
#include "audio_output/mmdevice.h"
#if (_WIN32_WINNT < 0x600)
-static VOID WINAPI (*InitializeConditionVariable)(PCONDITION_VARIABLE);
-static BOOL WINAPI (*SleepConditionVariableCS)(PCONDITION_VARIABLE,
+static VOID (WINAPI *InitializeConditionVariable) (PCONDITION_VARIABLE);
+static BOOL (WINAPI *SleepConditionVariableCS) (PCONDITION_VARIABLE,
PCRITICAL_SECTION, DWORD);
-static VOID WINAPI (*WakeConditionVariable)(PCONDITION_VARIABLE);
+static VOID (WINAPI *WakeConditionVariable)(PCONDITION_VARIABLE);
#define LOOKUP(s) \
if (((s) = (void *)GetProcAddress(h, #s)) == NULL) return FALSE
More information about the vlc-commits
mailing list