From 8449f63ccf3042359a30702a18dd83808bc0cc84 Mon Sep 17 00:00:00 2001 From: Alexandre Julliard Date: Tue, 2 Dec 2008 15:27:24 +0100 Subject: [PATCH] dxdiagn: Make some functions static. --- dlls/dxdiagn/dxdiag_private.h | 1 - dlls/dxdiagn/provider.c | 4 +++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/dlls/dxdiagn/dxdiag_private.h b/dlls/dxdiagn/dxdiag_private.h index 6449b32341a..4b6288b1d7d 100644 --- a/dlls/dxdiagn/dxdiag_private.h +++ b/dlls/dxdiagn/dxdiag_private.h @@ -97,7 +97,6 @@ extern HRESULT DXDiag_CreateDXDiagProvider(LPCLASSFACTORY iface, LPUNKNOWN punkO /** internal factory */ extern HRESULT DXDiag_CreateDXDiagContainer(REFIID riid, LPVOID *ppobj); -extern HRESULT DXDiag_InitRootDXDiagContainer(IDxDiagContainer* pRootCont); /********************************************************************** * Dll lifetime tracking declaration for dxdiagn.dll diff --git a/dlls/dxdiagn/provider.c b/dlls/dxdiagn/provider.c index e3bb044db0c..bc4d1a69fc7 100644 --- a/dlls/dxdiagn/provider.c +++ b/dlls/dxdiagn/provider.c @@ -37,6 +37,8 @@ WINE_DEFAULT_DEBUG_CHANNEL(dxdiag); +static HRESULT DXDiag_InitRootDXDiagContainer(IDxDiagContainer* pRootCont); + /* IDxDiagProvider IUnknown parts follow: */ static HRESULT WINAPI IDxDiagProviderImpl_QueryInterface(PDXDIAGPROVIDER iface, REFIID riid, LPVOID *ppobj) { @@ -699,7 +701,7 @@ out_show_filters: return hr; } -HRESULT DXDiag_InitRootDXDiagContainer(IDxDiagContainer* pRootCont) { +static HRESULT DXDiag_InitRootDXDiagContainer(IDxDiagContainer* pRootCont) { HRESULT hr = S_OK; static const WCHAR DxDiag_SystemInfo[] = {'D','x','D','i','a','g','_','S','y','s','t','e','m','I','n','f','o',0}; static const WCHAR DxDiag_SystemDevices[] = {'D','x','D','i','a','g','_','S','y','s','t','e','m','D','e','v','i','c','e','s',0};