From ccc66af6e324b8e2dc6cb22c5696113ab57c7d52 Mon Sep 17 00:00:00 2001 From: Jacek Caban Date: Fri, 21 Oct 2011 15:12:09 +0200 Subject: [PATCH] hlink: Don't use WINAPI for internal functions. --- dlls/hlink/browse_ctx.c | 2 +- dlls/hlink/hlink_main.c | 2 +- dlls/hlink/hlink_private.h | 4 ++-- dlls/hlink/link.c | 2 +- 4 files changed, 5 insertions(+), 5 deletions(-) diff --git a/dlls/hlink/browse_ctx.c b/dlls/hlink/browse_ctx.c index f6735d82297..76a51c08d01 100644 --- a/dlls/hlink/browse_ctx.c +++ b/dlls/hlink/browse_ctx.c @@ -40,7 +40,7 @@ static inline HlinkBCImpl *impl_from_IHlinkBrowseContext(IHlinkBrowseContext *if } -HRESULT WINAPI HLinkBrowseContext_Constructor(IUnknown *pUnkOuter, REFIID riid, +HRESULT HLinkBrowseContext_Constructor(IUnknown *pUnkOuter, REFIID riid, LPVOID *ppv) { HlinkBCImpl * hl; diff --git a/dlls/hlink/hlink_main.c b/dlls/hlink/hlink_main.c index a6bc1edff7d..54cac9d70cf 100644 --- a/dlls/hlink/hlink_main.c +++ b/dlls/hlink/hlink_main.c @@ -30,7 +30,7 @@ WINE_DEFAULT_DEBUG_CHANNEL(hlink); static HINSTANCE instance; -typedef HRESULT (CALLBACK *LPFNCREATEINSTANCE)(IUnknown*, REFIID, LPVOID*); +typedef HRESULT (*LPFNCREATEINSTANCE)(IUnknown*, REFIID, LPVOID*); typedef struct { diff --git a/dlls/hlink/hlink_private.h b/dlls/hlink/hlink_private.h index 55121c12575..e0ff09eaa78 100644 --- a/dlls/hlink/hlink_private.h +++ b/dlls/hlink/hlink_private.h @@ -29,8 +29,8 @@ #include "wine/unicode.h" -extern HRESULT WINAPI HLink_Constructor(IUnknown*,REFIID,void**) DECLSPEC_HIDDEN; -extern HRESULT WINAPI HLinkBrowseContext_Constructor(IUnknown*,REFIID,void**) DECLSPEC_HIDDEN; +extern HRESULT HLink_Constructor(IUnknown*,REFIID,void**) DECLSPEC_HIDDEN; +extern HRESULT HLinkBrowseContext_Constructor(IUnknown*,REFIID,void**) DECLSPEC_HIDDEN; static inline void *heap_alloc(size_t len) { diff --git a/dlls/hlink/link.c b/dlls/hlink/link.c index ceed083c382..86b6ad6e9f1 100644 --- a/dlls/hlink/link.c +++ b/dlls/hlink/link.c @@ -915,7 +915,7 @@ static const IPersistStreamVtbl psvt = IPersistStream_fnGetSizeMax, }; -HRESULT WINAPI HLink_Constructor(IUnknown *pUnkOuter, REFIID riid, void **ppv) +HRESULT HLink_Constructor(IUnknown *pUnkOuter, REFIID riid, void **ppv) { HlinkImpl * hl;