diff --git a/src/torcontrol.cpp b/src/torcontrol.cpp index 9141419c8..b3229bab7 100644 --- a/src/torcontrol.cpp +++ b/src/torcontrol.cpp @@ -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() {