From c5c29c28f28ffbd696e498be769e3aca07ba7f07 Mon Sep 17 00:00:00 2001 From: Alistair Leslie-Hughes Date: Fri, 19 Dec 2008 06:58:39 +1100 Subject: [PATCH] msxml3: Make functions static. --- dlls/msxml3/httprequest.c | 2 +- dlls/msxml3/msxml_private.h | 1 - dlls/msxml3/xmlelem.c | 4 +++- 3 files changed, 4 insertions(+), 3 deletions(-) diff --git a/dlls/msxml3/httprequest.c b/dlls/msxml3/httprequest.c index 3c962772d2d..c5395738427 100644 --- a/dlls/msxml3/httprequest.c +++ b/dlls/msxml3/httprequest.c @@ -75,7 +75,7 @@ static ULONG WINAPI httprequest_AddRef(IXMLHTTPRequest *iface) return InterlockedIncrement( &This->ref ); } -ULONG WINAPI httprequest_Release(IXMLHTTPRequest *iface) +static ULONG WINAPI httprequest_Release(IXMLHTTPRequest *iface) { httprequest *This = impl_from_IXMLHTTPRequest( iface ); ULONG ref; diff --git a/dlls/msxml3/msxml_private.h b/dlls/msxml3/msxml_private.h index e33b994d512..917543de706 100644 --- a/dlls/msxml3/msxml_private.h +++ b/dlls/msxml3/msxml_private.h @@ -67,7 +67,6 @@ extern HRESULT xmldoc_add_orphan( xmlDocPtr doc, xmlNodePtr node ); extern HRESULT xmldoc_remove_orphan( xmlDocPtr doc, xmlNodePtr node ); extern HRESULT XMLElement_create( IUnknown *pUnkOuter, xmlNodePtr node, LPVOID *ppObj ); -extern HRESULT XMLElementCollection_create( IUnknown *pUnkOuter, xmlNodePtr node, LPVOID *ppObj ); extern xmlDocPtr parse_xml(char *ptr, int len); diff --git a/dlls/msxml3/xmlelem.c b/dlls/msxml3/xmlelem.c index 8166e6ac5bb..0105a0a243b 100644 --- a/dlls/msxml3/xmlelem.c +++ b/dlls/msxml3/xmlelem.c @@ -38,6 +38,8 @@ WINE_DEFAULT_DEBUG_CHANNEL(msxml); #ifdef HAVE_LIBXML2 +static HRESULT XMLElementCollection_create( IUnknown *pUnkOuter, xmlNodePtr node, LPVOID *ppObj ); + /********************************************************************** * IXMLElement */ @@ -732,7 +734,7 @@ static const struct IEnumVARIANTVtbl xmlelem_collection_IEnumVARIANTvtbl = xmlelem_collection_IEnumVARIANT_Clone }; -HRESULT XMLElementCollection_create(IUnknown *pUnkOuter, xmlNodePtr node, LPVOID *ppObj) +static HRESULT XMLElementCollection_create(IUnknown *pUnkOuter, xmlNodePtr node, LPVOID *ppObj) { xmlelem_collection *collection; xmlNodePtr ptr;