From 4c03649d0cc786302ff20c1134ef78bf0d24b126 Mon Sep 17 00:00:00 2001 From: Alexandre Julliard Date: Wed, 2 Jan 2002 21:50:44 +0000 Subject: [PATCH] Fixed check_async_list calling convention. --- include/file.h | 2 +- scheduler/synchro.c | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/include/file.h b/include/file.h index 73d5ef3f7fe..e9dc4185a2a 100644 --- a/include/file.h +++ b/include/file.h @@ -48,7 +48,7 @@ typedef struct async_private struct async_private *prev; } async_private; -extern void check_async_list(LPOVERLAPPED ov, DWORD status); +extern void WINAPI check_async_list(LPOVERLAPPED ov, DWORD status); /* locale-independent case conversion */ inline static char FILE_tolower( char c ) diff --git a/scheduler/synchro.c b/scheduler/synchro.c index ab965f0a7f5..d3948996c58 100644 --- a/scheduler/synchro.c +++ b/scheduler/synchro.c @@ -78,8 +78,8 @@ static void finish_async(async_private *ovp, DWORD status) * * Process a status event from the server. */ -void check_async_list(LPOVERLAPPED overlapped, DWORD status) - { +void WINAPI check_async_list(LPOVERLAPPED overlapped, DWORD status) +{ async_private *ovp; /* fprintf(stderr,"overlapped %p status %x\n",overlapped,status); */