Module: wine Branch: master Commit: bf5c7d4546b791e3e00f8501c3e74173266a07b4 URL: http://source.winehq.org/git/wine.git/?a=commit;h=bf5c7d4546b791e3e00f8501c3...
Author: Thomas Faber thfabba@gmx.de Date: Sat May 5 13:42:00 2012 +0200
msvcrt: Fix malloc_func_t/free_func_t calling convention.
---
dlls/msvcrt/msvcrt.h | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/dlls/msvcrt/msvcrt.h b/dlls/msvcrt/msvcrt.h index 0fd3410..e255a2e 100644 --- a/dlls/msvcrt/msvcrt.h +++ b/dlls/msvcrt/msvcrt.h @@ -245,8 +245,8 @@ int __cdecl MSVCRT__set_new_mode(int mode); void* __cdecl MSVCRT_operator_new(MSVCRT_size_t); void __cdecl MSVCRT_operator_delete(void*);
-typedef void* (*__cdecl malloc_func_t)(MSVCRT_size_t); -typedef void (*__cdecl free_func_t)(void*); +typedef void* (__cdecl *malloc_func_t)(MSVCRT_size_t); +typedef void (__cdecl *free_func_t)(void*);
extern char* __cdecl __unDName(char *,const char*,int,malloc_func_t,free_func_t,unsigned short int); extern char* __cdecl __unDNameEx(char *,const char*,int,malloc_func_t,free_func_t,void *,unsigned short int);