dsound: Make dumpCooperativeLevel() static.

Francois Gouget fgouget at free.fr
Tue Aug 21 06:31:39 CDT 2012


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

diff --git a/dlls/dsound/dsound.c b/dlls/dsound/dsound.c
index 3847a18..f704693 100644
--- a/dlls/dsound/dsound.c
+++ b/dlls/dsound/dsound.c
@@ -50,7 +50,7 @@ typedef struct IDirectSoundImpl {
     BOOL                has_ds8;
 } IDirectSoundImpl;
 
-const char * dumpCooperativeLevel(DWORD level)
+static const char * dumpCooperativeLevel(DWORD level)
 {
 #define LE(x) case x: return #x
     switch (level) {
diff --git a/dlls/dsound/dsound_private.h b/dlls/dsound/dsound_private.h
index 8419a7f..f8e5ca6 100644
--- a/dlls/dsound/dsound_private.h
+++ b/dlls/dsound/dsound_private.h
@@ -320,7 +320,6 @@ extern GUID DSOUND_capture_guids[MAXWAVEDRIVERS] DECLSPEC_HIDDEN;
 extern WCHAR wine_vxd_drv[] DECLSPEC_HIDDEN;
 
 void setup_dsound_options(void) DECLSPEC_HIDDEN;
-const char * dumpCooperativeLevel(DWORD level) DECLSPEC_HIDDEN;
 
 HRESULT get_mmdevice(EDataFlow flow, const GUID *tgt, IMMDevice **device) DECLSPEC_HIDDEN;
 
-- 
1.7.10.4




More information about the wine-patches mailing list