# HG changeset patch # User reimar # Date 1280769988 0 # Node ID 3f3381845ae95f8fc8efb14ab551004acb39cad0 # Parent 837b16c7f35c679802bc44041013650dc4a95140 Make function declarations proper prototypes. diff -r 837b16c7f35c -r 3f3381845ae9 loader/win32.c --- a/loader/win32.c Mon Aug 02 17:19:45 2010 +0000 +++ b/loader/win32.c Mon Aug 02 17:26:28 2010 +0000 @@ -141,7 +141,7 @@ } static unsigned int localcount_stub(void); static void longcount_stub(long long*); -static unsigned int (*localcount)()=localcount_stub; +static unsigned int (*localcount)(void)=localcount_stub; static void (*longcount)(long long*)=longcount_stub; static pthread_mutex_t memmut = PTHREAD_MUTEX_INITIALIZER; @@ -2758,7 +2758,7 @@ } static int WINAPI expEnumDisplayMonitors(void *dc, RECT *r, - int WINAPI (*callback_proc)(), void *callback_param) + int WINAPI (*callback_proc)(HMONITOR, HDC, LPRECT, LPARAM), void *callback_param) { dbgprintf("EnumDisplayMonitors(0x%x, 0x%x, 0x%x, 0x%x) => ?\n", dc, r, callback_proc, callback_param); @@ -2858,7 +2858,7 @@ return 0; } -static int WINAPI expEnumWindows(int (*callback_func)(), void *callback_param) +static int WINAPI expEnumWindows(int (*callback_func)(HWND, LPARAM), void *callback_param) { int i, i2; dbgprintf("EnumWindows(0x%x, 0x%x) => 1\n", callback_func, callback_param);