[PATCH 2/3] Revert "export sig_fd in bs"

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

 



This reverts commit 274eceecbac1e7442a7d89b412d58cfa39fcccd0.
---
 usr/bs.c   |    2 +-
 usr/tgtd.h |    2 --
 2 files changed, 1 insertions(+), 3 deletions(-)

diff --git a/usr/bs.c b/usr/bs.c
index e74cc13..d72d090 100644
--- a/usr/bs.c
+++ b/usr/bs.c
@@ -43,7 +43,7 @@ static LIST_HEAD(bst_list);
 static LIST_HEAD(finished_list);
 static pthread_mutex_t finished_lock;
 
-int sig_fd = -1;
+static int sig_fd = -1;
 
 static int command_fd[2];
 static int done_fd[2];
diff --git a/usr/tgtd.h b/usr/tgtd.h
index fe0eb3c..d28a0e0 100644
--- a/usr/tgtd.h
+++ b/usr/tgtd.h
@@ -334,8 +334,6 @@ struct event_data {
 	struct list_head e_list;
 };
 
-extern int sig_fd;
-
 int do_tgt_event_add(int efd, struct list_head *list, int fd, int events,
 		     event_handler_t handler, void *data);
 void do_tgt_event_del(int efd, struct list_head *list, int fd);
-- 
1.6.5

--
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