From e2c50d762c74593bdfe4ca1affd869340a64ef9c Mon Sep 17 00:00:00 2001 From: Francois Gouget Date: Tue, 21 Aug 2012 13:31:39 +0200 Subject: [PATCH] dsound: Make dumpCooperativeLevel() static. --- 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 3847a187f70..f7046930d05 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 8419a7f116d..f8e5ca681b5 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;