Skip to contentSkip to conversation

audio: Add 'static' attributes to several variables

PATCH Applied Stefan Weil 2 participants 2 messages Mar 5, 2014 – Mar 14, 2014

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 audio: Add 'static' attributes to several variables

---
 hw/audio/fmopl.c |    6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
hw/audio/fmopl.c +3 -3
index f0a0234..f0d6d6f 100644
@@ -223,13 +223,13 @@ static void *cur_chip = NULL;	/* current chip point */
 /* static OPLSAMPLE  *bufL,*bufR; */
 static OPL_CH *S_CH;
 static OPL_CH *E_CH;
-OPL_SLOT *SLOT7_1,*SLOT7_2,*SLOT8_1,*SLOT8_2;
+static OPL_SLOT *SLOT7_1, *SLOT7_2, *SLOT8_1, *SLOT8_2;
 
 static INT32 outd[1];
 static INT32 ams;
 static INT32 vib;
-INT32  *ams_table;
-INT32  *vib_table;
+static INT32 *ams_table;
+static INT32 *vib_table;
 static INT32 amsIncr;
 static INT32 vibIncr;
 static INT32 feedback2;		/* connect for SLOT 2 */
Signature · 1 line
1.7.10.4