Module: wine Branch: master Commit: dbdf356f72ccfe8e7d3cf23fbfd3403f21d89e56 URL: http://source.winehq.org/git/wine.git/?a=commit;h=dbdf356f72ccfe8e7d3cf23fbf...
Author: Alexandre Julliard julliard@winehq.org Date: Tue Nov 22 18:19:31 2011 +0100
msxml3: Don't return REFIID to avoid compiler warnings.
---
dlls/msxml3/dispex.c | 2 +- dlls/msxml3/msxml_private.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/dlls/msxml3/dispex.c b/dlls/msxml3/dispex.c index d71fb04..529fd96 100644 --- a/dlls/msxml3/dispex.c +++ b/dlls/msxml3/dispex.c @@ -152,7 +152,7 @@ static tid_id_t tid_ids[] = { { &IID_IVBMXNamespaceManager, LibXml2 } };
-inline REFIID get_riid_from_tid(tid_t tid) +const IID *get_riid_from_tid(tid_t tid) { return tid_ids[tid].iid; } diff --git a/dlls/msxml3/msxml_private.h b/dlls/msxml3/msxml_private.h index 10067a6..bb517a7 100644 --- a/dlls/msxml3/msxml_private.h +++ b/dlls/msxml3/msxml_private.h @@ -157,7 +157,7 @@ extern HINSTANCE MSXML_hInstance DECLSPEC_HIDDEN; void init_dispex(DispatchEx*,IUnknown*,dispex_static_data_t*) DECLSPEC_HIDDEN; void release_dispex(DispatchEx*) DECLSPEC_HIDDEN; BOOL dispex_query_interface(DispatchEx*,REFIID,void**) DECLSPEC_HIDDEN; -REFIID get_riid_from_tid(enum tid_t tid) DECLSPEC_HIDDEN; +const IID *get_riid_from_tid(enum tid_t tid) DECLSPEC_HIDDEN;
/* memory allocation functions */