From 2f4fc005937e75d931eb6ef87a3fe16364d45113 Mon Sep 17 00:00:00 2001 From: Ben Longbons Date: Thu, 26 Jun 2014 21:59:27 -0700 Subject: Stick everything in a namespace --- src/monitor/main.cpp | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/monitor/main.cpp') diff --git a/src/monitor/main.cpp b/src/monitor/main.cpp index da03f60..5d7478d 100644 --- a/src/monitor/main.cpp +++ b/src/monitor/main.cpp @@ -47,6 +47,8 @@ #define CONFIG "conf/eathena-monitor.conf"_s +namespace tmwa +{ // initialiized to $HOME/tmwserver static AString workdir; @@ -166,9 +168,11 @@ void stop_process(int sig) #pragma GCC diagnostic pop raise(sig); } +} // namespace tmwa int main(int argc, char *argv[]) { + using namespace tmwa; // These are all the signals we are likely to get // The shell handles stop/cont signal(SIGTERM, stop_process); -- cgit v1.2.3-60-g2f50