[PATCH] tgtd: let event_need_refresh be a static variable

Hitoshi Mitake <[email protected]>
Newsgroups org.kernel.vger.stgt
Message-ID <[email protected]>
The variable don't have to be visible from other source files.

Signed-off-by: Hitoshi Mitake <[email protected]>
---
 usr/tgtd.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/usr/tgtd.c b/usr/tgtd.c
index 04b31dc..9975e03 100644
--- a/usr/tgtd.c
+++ b/usr/tgtd.c
@@ -212,7 +212,7 @@ static struct event_data *tgt_event_lookup(int fd)
 	return NULL;
 }
 
-int event_need_refresh;
+static int event_need_refresh;
 
 void tgt_event_del(int fd)
 {
-- 
1.7.10.4
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.