dsound: Declare some variables static
Andrew Talbot
andrew.talbot at talbotville.com
Sat Jan 3 06:53:41 CST 2009
Please give feedback if rejecting this patch.
Thanks,
-- Andy.
---
Changelog:
dsound: Declare some variables static.
diff --git a/dlls/dsound/dsound_main.c b/dlls/dsound/dsound_main.c
index 5ebf2e6..206c465 100644
--- a/dlls/dsound/dsound_main.c
+++ b/dlls/dsound/dsound_main.c
@@ -95,8 +95,8 @@ int ds_snd_queue_max = 10;
int ds_snd_queue_min = 6;
int ds_snd_shadow_maxsize = 2;
int ds_hw_accel = DS_HW_ACCEL_FULL;
-int ds_default_playback = 0;
-int ds_default_capture = 0;
+static int ds_default_playback;
+static int ds_default_capture;
int ds_default_sample_rate = 44100;
int ds_default_bits_per_sample = 16;
diff --git a/dlls/dsound/dsound_private.h b/dlls/dsound/dsound_private.h
index c16f1c1..b23e242 100644
--- a/dlls/dsound/dsound_private.h
+++ b/dlls/dsound/dsound_private.h
@@ -37,8 +37,6 @@ extern int ds_snd_queue_max;
extern int ds_snd_queue_min;
extern int ds_snd_shadow_maxsize;
extern int ds_hw_accel;
-extern int ds_default_playback;
-extern int ds_default_capture;
extern int ds_default_sample_rate;
extern int ds_default_bits_per_sample;
More information about the wine-patches
mailing list