Module: wine Branch: master Commit: e2c50d762c74593bdfe4ca1affd869340a64ef9c URL: http://source.winehq.org/git/wine.git/?a=commit;h=e2c50d762c74593bdfe4ca1aff...
Author: Francois Gouget fgouget@free.fr Date: Tue Aug 21 13:31:39 2012 +0200
dsound: Make dumpCooperativeLevel() static.
---
dlls/dsound/dsound.c | 2 +- dlls/dsound/dsound_private.h | 1 - 2 files changed, 1 insertions(+), 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;