Andrew Talbot : dsound: Declare some variables static.

Alexandre Julliard julliard at winehq.org
Sat Jan 3 09:11:32 CST 2009


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

Author: Andrew Talbot <andrew.talbot at talbotville.com>
Date:   Sat Jan  3 12:53:41 2009 +0000

dsound: Declare some variables static.

---

 dlls/dsound/dsound_main.c    |    4 ++--
 dlls/dsound/dsound_private.h |    2 --
 2 files changed, 2 insertions(+), 4 deletions(-)

diff --git a/dlls/dsound/dsound_main.c b/dlls/dsound/dsound_main.c
index 5ebf2e6..82f6a8c 100644
--- a/dlls/dsound/dsound_main.c
+++ b/dlls/dsound/dsound_main.c
@@ -95,10 +95,10 @@ 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;
 int ds_default_sample_rate = 44100;
 int ds_default_bits_per_sample = 16;
+static int ds_default_playback;
+static int ds_default_capture;
 
 /*
  * Get a config key from either the app-specific or the default config
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-cvs mailing list