From: Greg Kroah-Hartman <gregkh@suse.de>
Date: Tue, 4 May 2010 23:09:53 +0000 (-0700)
Subject: Staging: comedi: hwdrv_apci035.c: fix sparse warnings
X-Git-Tag: v2.6.35-rc1~441^2^2~215
X-Git-Url: https://www.infradead.org/git/?a=commitdiff_plain;h=08b93e7bda617a623ffae77940e4acfa31204367;p=linux.git

Staging: comedi: hwdrv_apci035.c: fix sparse warnings

Some variables should be static.

Cc: Ian Abbott <abbotti@mev.co.uk>
Cc: Frank Mori Hess <fmhess@users.sourceforge.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
---

diff --git a/drivers/staging/comedi/drivers/addi-data/hwdrv_apci035.c b/drivers/staging/comedi/drivers/addi-data/hwdrv_apci035.c
index 791297266fc0..1369e22b7ee6 100644
--- a/drivers/staging/comedi/drivers/addi-data/hwdrv_apci035.c
+++ b/drivers/staging/comedi/drivers/addi-data/hwdrv_apci035.c
@@ -52,9 +52,9 @@ You should also find the complete GPL in the COPYING file accompanying this sour
 +----------------------------------------------------------------------------+
 */
 #include "hwdrv_apci035.h"
-int i_WatchdogNbr = 0;
-int i_Temp = 0;
-int i_Flag = 1;
+static int i_WatchdogNbr = 0;
+static int i_Temp = 0;
+static int i_Flag = 1;
 /*
 +----------------------------------------------------------------------------+
 | Function   Name   : int i_APCI035_ConfigTimerWatchdog                      |