Francois Gouget : dsound: Make some DirectSoundDevice_*() functions static.
Alexandre Julliard
julliard at wine.codeweavers.com
Tue Jan 20 15:20:10 CST 2015
Module: wine
Branch: master
Commit: 57582b37b3e74dab410cc6c70a2aaa8fa905ea2a
URL: http://source.winehq.org/git/wine.git/?a=commit;h=57582b37b3e74dab410cc6c70a2aaa8fa905ea2a
Author: Francois Gouget <fgouget at free.fr>
Date: Tue Jan 20 03:28:05 2015 +0100
dsound: Make some DirectSoundDevice_*() functions static.
---
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 2a41967..7e53f91 100644
--- a/dlls/dsound/dsound.c
+++ b/dlls/dsound/dsound.c
@@ -199,7 +199,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));
@@ -271,7 +271,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;
@@ -398,7 +398,7 @@ HRESULT DirectSoundDevice_Initialize(DirectSoundDevice ** ppDevice, LPCGUID lpcG
return hr;
}
-HRESULT DirectSoundDevice_CreateSoundBuffer(
+static HRESULT DirectSoundDevice_CreateSoundBuffer(
DirectSoundDevice * device,
LPCDSBUFFERDESC dsbd,
LPLPDIRECTSOUNDBUFFER ppdsb,
@@ -539,7 +539,7 @@ HRESULT DirectSoundDevice_CreateSoundBuffer(
return hres;
}
-HRESULT DirectSoundDevice_DuplicateSoundBuffer(
+static HRESULT DirectSoundDevice_DuplicateSoundBuffer(
DirectSoundDevice * device,
LPDIRECTSOUNDBUFFER psb,
LPLPDIRECTSOUNDBUFFER ppdsb)
More information about the wine-cvs
mailing list