diff options
| author | Pavel Janík <[email protected]> | 2017-03-08 22:13:15 +0100 |
|---|---|---|
| committer | Pavel Janík <[email protected]> | 2017-03-18 07:59:50 +0100 |
| commit | c4b60b3d9c1b45240f45842e0f39ae8a8467ce58 (patch) | |
| tree | 12878331b872bd32cb748338b3b2722f67d44be4 /src/torcontrol.cpp | |
| parent | Prevent -Wshadow warnings with gcc versions 4.8.5, 5.3.1 and 6.2.1. (diff) | |
| download | discoin-c4b60b3d9c1b45240f45842e0f39ae8a8467ce58.tar.xz discoin-c4b60b3d9c1b45240f45842e0f39ae8a8467ce58.zip | |
Make some global variables less-global (static)
Diffstat (limited to 'src/torcontrol.cpp')
| -rw-r--r-- | src/torcontrol.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/torcontrol.cpp b/src/torcontrol.cpp index 19e1b1a36..d24020e51 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() { |