[PATCH] tgtd: let event_need_refresh be a static variable

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



The variable don't have to be visible from other source files.

Signed-off-by: Hitoshi Mitake <mitake.hitoshi@xxxxxxxxxxxxx>
---
 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

--
To unsubscribe from this list: send the line "unsubscribe stgt" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Linux SCSI]     [Linux RAID]     [Linux Clusters]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]

  Powered by Linux