[Bug 1551] Redux: NS_LOG_COMPONENT_DEFINE inside or outside of ns3 namespace?

This commit is contained in:
Peter D. Barnes, Jr.
2014-09-26 15:51:00 -07:00
parent 3611bd11a5
commit bfdb6ef10a
675 changed files with 1328 additions and 1354 deletions

View File

@@ -21,8 +21,6 @@
#include "ns3/assert.h"
#include "ns3/log.h"
NS_LOG_COMPONENT_DEFINE ("Buffer");
#define LOG_INTERNAL_STATE(y) \
NS_LOG_LOGIC (y << "start="<<m_start<<", end="<<m_end<<", zero start="<<m_zeroAreaStart<< \
", zero end="<<m_zeroAreaEnd<<", count="<<m_data->m_count<<", size="<<m_data->m_size<< \
@@ -49,6 +47,8 @@ static struct Zeroes
namespace ns3 {
NS_LOG_COMPONENT_DEFINE ("Buffer");
uint32_t Buffer::g_recommendedStart = 0;
#ifdef BUFFER_FREE_LIST