Marcus Meissner : dsound: Make a function static, remove a no longer used array.

Alexandre Julliard julliard at winehq.org
Tue Oct 4 17:43:03 CDT 2011


Module: wine
Branch: master
Commit: 1533965e8cff7a1908c3fc626e08ec8b4b786801
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=1533965e8cff7a1908c3fc626e08ec8b4b786801

Author: Marcus Meissner <meissner at suse.de>
Date:   Tue Oct  4 02:38:06 2011 +0200

dsound: Make a function static, remove a no longer used array.

---

 dlls/dsound/capture.c |    6 ++----
 1 files changed, 2 insertions(+), 4 deletions(-)

diff --git a/dlls/dsound/capture.c b/dlls/dsound/capture.c
index 7569254..61a8228 100644
--- a/dlls/dsound/capture.c
+++ b/dlls/dsound/capture.c
@@ -822,8 +822,6 @@ static HRESULT IDirectSoundCaptureBufferImpl_Create(
 /*******************************************************************************
  * DirectSoundCaptureDevice
  */
-DirectSoundCaptureDevice * DSOUND_capture[MAXWAVEDRIVERS];
-
 static HRESULT DirectSoundCaptureDevice_Create(
     DirectSoundCaptureDevice ** ppDevice)
 {
@@ -880,8 +878,8 @@ static ULONG DirectSoundCaptureDevice_Release(
     return ref;
 }
 
-void CALLBACK DSOUND_capture_timer(UINT timerID, UINT msg, DWORD_PTR user,
-        DWORD_PTR dw1, DWORD_PTR dw2)
+static void CALLBACK DSOUND_capture_timer(UINT timerID, UINT msg, DWORD_PTR user,
+                                          DWORD_PTR dw1, DWORD_PTR dw2)
 {
     DirectSoundCaptureDevice *device = (DirectSoundCaptureDevice*)user;
     UINT32 packet_frames, packet_bytes, avail_bytes;




More information about the wine-cvs mailing list