[2/2] dsound: Make some DirectSoundDevice_*() functions static.

Francois Gouget fgouget at free.fr
Mon Jan 5 12:45:35 CST 2015


---
 dlls/dsound/dsound.c | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/dlls/dsound/dsound.c b/dlls/dsound/dsound.c
index e73fb51..270249a 100644
--- a/dlls/dsound/dsound.c
+++ b/dlls/dsound/dsound.c
@@ -196,7 +196,7 @@ static ULONG DirectSoundDevice_AddRef(DirectSoundDevice * device)
     return ref;
 }
 
-ULONG DirectSoundDevice_Release(DirectSoundDevice * device)
+static ULONG DirectSoundDevice_Release(DirectSoundDevice * device)
 {
     HRESULT hr;
     ULONG ref = InterlockedDecrement(&(device->ref));
@@ -268,7 +268,7 @@ BOOL DSOUND_check_supported(IAudioClient *client, DWORD rate,
     return hr == S_OK;
 }
 
-HRESULT DirectSoundDevice_Initialize(DirectSoundDevice ** ppDevice, LPCGUID lpcGUID)
+static HRESULT DirectSoundDevice_Initialize(DirectSoundDevice ** ppDevice, LPCGUID lpcGUID)
 {
     HRESULT hr = DS_OK;
     GUID devGUID;
@@ -392,7 +392,7 @@ HRESULT DirectSoundDevice_Initialize(DirectSoundDevice ** ppDevice, LPCGUID lpcG
     return hr;
 }
 
-HRESULT DirectSoundDevice_CreateSoundBuffer(
+static HRESULT DirectSoundDevice_CreateSoundBuffer(
     DirectSoundDevice * device,
     LPCDSBUFFERDESC dsbd,
     LPLPDIRECTSOUNDBUFFER ppdsb,
@@ -529,7 +529,7 @@ HRESULT DirectSoundDevice_CreateSoundBuffer(
    return hres;
 }
 
-HRESULT DirectSoundDevice_DuplicateSoundBuffer(
+static HRESULT DirectSoundDevice_DuplicateSoundBuffer(
     DirectSoundDevice * device,
     LPDIRECTSOUNDBUFFER psb,
     LPLPDIRECTSOUNDBUFFER ppdsb)
-- 
2.1.4




More information about the wine-patches mailing list