changeset 26988:1c4ede4e0e1e

Make some global variables less-global (static)
author Pavel Jan?k <Pavel@Janik.cz>
date Wed, 08 Mar 2017 22:13:15 +0100
parents 553b9abc8364
children 7d590b464e88
files src/torcontrol.cpp
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/src/torcontrol.cpp	Fri Mar 03 16:20:33 2017 +0100
+++ b/src/torcontrol.cpp	Wed Mar 08 22:13:15 2017 +0100
@@ -662,8 +662,8 @@
 }
 
 /****** Thread ********/
-struct event_base *gBase;
-boost::thread torControlThread;
+static struct event_base *gBase;
+static boost::thread torControlThread;
 
 static void TorControlThread()
 {