From: Thomas Jarosch Date: Wed, 9 Apr 2008 16:10:44 +0000 (+0000) Subject: libi2ncommon: (tomj) fixed namespace name and one header include X-Git-Tag: v2.6~181 X-Git-Url: http://developer.intra2net.com/git/?a=commitdiff_plain;h=1eb904beca73360ae694efc007bed9e23d6cf952;p=libi2ncommon libi2ncommon: (tomj) fixed namespace name and one header include --- diff --git a/src/daemonfunc.cpp b/src/daemonfunc.cpp index 680ef96..7500754 100644 --- a/src/daemonfunc.cpp +++ b/src/daemonfunc.cpp @@ -10,14 +10,14 @@ #include #include -#include "daemonfunc.hxx" +#include "daemonfunc.hpp" #include "stringfunc.hxx" #include "filefunc.hxx" namespace I2n { -namespace daemon +namespace Daemon { using namespace std; diff --git a/src/daemonfunc.hpp b/src/daemonfunc.hpp index e8698b7..8d402bf 100644 --- a/src/daemonfunc.hpp +++ b/src/daemonfunc.hpp @@ -13,7 +13,7 @@ /// Collection of functions for daemons namespace I2n { -namespace daemon +namespace Daemon { void daemonize(); diff --git a/test/test_filefunc.cpp b/test/test_filefunc.cpp index e011060..e5fd252 100644 --- a/test/test_filefunc.cpp +++ b/test/test_filefunc.cpp @@ -247,7 +247,7 @@ class TestFileFunc : public TestFixture void TestPidOf1() { - using I2n::daemon::pid_of; + using I2n::Daemon::pid_of; std::vector< pid_t > pid_list;