Received: from eggs.gnu.org ([2001:4830:134:3::10]:35711) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WLJG2-0000Me-Hi for qemu-devel@nongnu.org; Wed, 05 Mar 2014 16:21:47 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WLJFx-0004MX-6K for qemu-devel@nongnu.org; Wed, 05 Mar 2014 16:21:42 -0500 From: Stefan Weil Date: Wed, 5 Mar 2014 22:21:32 +0100 Message-Id: <1394054492-29004-1-git-send-email-sw@weilnetz.de> Subject: [Qemu-devel] [PATCH] audio: Add 'static' attributes to several variables List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-trivial@nongnu.org, Gerd Hoffmann Cc: Stefan Weil , qemu-devel@nongnu.org Signed-off-by: Stefan Weil --- hw/audio/fmopl.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/hw/audio/fmopl.c b/hw/audio/fmopl.c index f0a0234..f0d6d6f 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 */ -- 1.7.10.4