mark private global variables as static in log.cc
authorAndrey Mazo <ahippo@yandex.com>
Sun, 23 Mar 2014 16:51:32 +0400
changeset 10676 f13ef6e82364
parent 10675 67ec151083bd
child 10677 220892372fec
mark private global variables as static in log.cc
src/core/model/log.cc
--- a/src/core/model/log.cc	Fri Mar 21 16:57:41 2014 +0100
+++ b/src/core/model/log.cc	Sun Mar 23 16:51:32 2014 +0400
@@ -36,8 +36,8 @@
 
 namespace ns3 {
 
-LogTimePrinter g_logTimePrinter = 0;
-LogNodePrinter g_logNodePrinter = 0;
+static LogTimePrinter g_logTimePrinter = 0;
+static LogNodePrinter g_logNodePrinter = 0;
 
 typedef std::map<std::string, LogComponent *> ComponentList;
 typedef std::map<std::string, LogComponent *>::iterator ComponentListI;