summaryrefslogtreecommitdiffstats
path: root/base/shared_memory_posix.cc
diff options
context:
space:
mode:
Diffstat (limited to 'base/shared_memory_posix.cc')
-rw-r--r--base/shared_memory_posix.cc3
1 files changed, 3 insertions, 0 deletions
diff --git a/base/shared_memory_posix.cc b/base/shared_memory_posix.cc
index 3e6d9eb..5f0c05c 100644
--- a/base/shared_memory_posix.cc
+++ b/base/shared_memory_posix.cc
@@ -10,6 +10,8 @@
#include "base/logging.h"
#include "base/string_util.h"
+namespace base {
+
namespace {
// Paranoia. Semaphores and shared memory segments should live in different
// namespaces, but who knows what's out there.
@@ -166,3 +168,4 @@ void SharedMemory::Unlock() {
sem_post(lock_);
}
+} // namespace base