Removes namespace { }
Anonymous namespaces in header files are a bad idea. In this case the
template definition is implicitly inline, so the anonymous namespace
doesn't help, and only goes to prevent symbol merging.
Change-Id: I9527ee742d34c8f4049746c9eaee38dcb35b98af
diff --git a/common/vsoc/lib/circqueue_impl.h b/common/vsoc/lib/circqueue_impl.h
index 01dc6ff..0abd7dd 100644
--- a/common/vsoc/lib/circqueue_impl.h
+++ b/common/vsoc/lib/circqueue_impl.h
@@ -22,13 +22,11 @@
#include "common/vsoc/lib/region_signaling_interface.h"
#include "common/vsoc/shm/circqueue.h"
-namespace {
// Increases the given index until it is naturally aligned for T.
template <typename T>
uintptr_t align(uintptr_t index) {
return (index + sizeof(T) - 1) & ~(sizeof(T) - 1);
}
-} // namespace
namespace vsoc {
class RegionSignalingInterface;