aboutsummaryrefslogtreecommitdiff
path: root/hw/audio
diff options
context:
space:
mode:
authorStefan Weil <sw@weilnetz.de>2014-03-05 22:21:32 +0100
committerMichael Tokarev <mjt@tls.msk.ru>2014-03-15 13:54:18 +0400
commit69df1c3c9d937a2b4f005a5bad0fefd21b39f383 (patch)
treec896d8f9aeb399e81380ea07ff89dec784048d82 /hw/audio
parent6d4adef48dd6bb738474ab857f4fcb240ff9d2d6 (diff)
downloadqemu-69df1c3c9d937a2b4f005a5bad0fefd21b39f383.zip
qemu-69df1c3c9d937a2b4f005a5bad0fefd21b39f383.tar.gz
qemu-69df1c3c9d937a2b4f005a5bad0fefd21b39f383.tar.bz2
audio: Add 'static' attributes to several variables
Signed-off-by: Stefan Weil <sw@weilnetz.de> Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>
Diffstat (limited to 'hw/audio')
-rw-r--r--hw/audio/fmopl.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/hw/audio/fmopl.c b/hw/audio/fmopl.c
index f0a0234..290a224 100644
--- a/hw/audio/fmopl.c
+++ b/hw/audio/fmopl.c
@@ -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 */