dsound: Make DSOUND_PrimarySetFormat() static.

Francois Gouget fgouget at free.fr
Wed Dec 2 05:13:08 CST 2009


---

This is independent from the other dsound patches.

 dlls/dsound/dsound_private.h |    1 -
 dlls/dsound/primary.c        |    2 +-
 2 files changed, 1 insertions(+), 2 deletions(-)

diff --git a/dlls/dsound/dsound_private.h b/dlls/dsound/dsound_private.h
index d52d697..1b25ddd 100644
--- a/dlls/dsound/dsound_private.h
+++ b/dlls/dsound/dsound_private.h
@@ -378,7 +378,6 @@ HRESULT DSOUND_PrimaryPlay(DirectSoundDevice *device);
 HRESULT DSOUND_PrimaryStop(DirectSoundDevice *device);
 HRESULT DSOUND_PrimaryGetPosition(DirectSoundDevice *device, LPDWORD playpos, LPDWORD writepos);
 LPWAVEFORMATEX DSOUND_CopyFormat(LPCWAVEFORMATEX wfex);
-HRESULT DSOUND_PrimarySetFormat(DirectSoundDevice *device, LPCWAVEFORMATEX wfex, BOOL forced);
 HRESULT DSOUND_ReopenDevice(DirectSoundDevice *device, BOOL forcewave);
 
 /* duplex.c */
diff --git a/dlls/dsound/primary.c b/dlls/dsound/primary.c
index 6b3ca35..30a8968 100644
--- a/dlls/dsound/primary.c
+++ b/dlls/dsound/primary.c
@@ -465,7 +465,7 @@ LPWAVEFORMATEX DSOUND_CopyFormat(LPCWAVEFORMATEX wfex)
 	return pwfx;
 }
 
-HRESULT DSOUND_PrimarySetFormat(DirectSoundDevice *device, LPCWAVEFORMATEX wfex, BOOL forced)
+static HRESULT DSOUND_PrimarySetFormat(DirectSoundDevice *device, LPCWAVEFORMATEX wfex, BOOL forced)
 {
 	HRESULT err = DSERR_BUFFERLOST;
 	int i;
-- 
1.6.5




More information about the wine-patches mailing list