From c4b60b3d9c1b45240f45842e0f39ae8a8467ce58 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Pavel=20Jan=C3=ADk?= Date: Wed, 8 Mar 2017 22:13:15 +0100 Subject: [PATCH] Make some global variables less-global (static) --- src/torcontrol.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/torcontrol.cpp b/src/torcontrol.cpp index 19e1b1a368a..d24020e51f5 100644 --- a/src/torcontrol.cpp +++ b/src/torcontrol.cpp @@ -662,8 +662,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() {