Make some global variables less-global (static)
This commit is contained in:
parent
f0e9019223
commit
4b5ba449bb
|
@ -657,8 +657,8 @@ void TorController::reconnect_cb(evutil_socket_t fd, short what, void *arg)
|
|||
}
|
||||
|
||||
/****** Thread ********/
|
||||
struct event_base *gBase;
|
||||
boost::thread torControlThread;
|
||||
static struct event_base *gBase;
|
||||
static boost::thread torControlThread;
|
||||
|
||||
static void TorControlThread()
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue