View | Details | Raw Unified | Return to bug 1170
Collapse All | Expand All

(-)a/examples/energy/energy-model-example.cc (-1 / +1 lines)
 Lines 35-41    Link Here 
35
35
36
using namespace ns3;
36
using namespace ns3;
37
37
38
std::string
38
static inline std::string
39
PrintReceivedPacket (Address& from)
39
PrintReceivedPacket (Address& from)
40
{
40
{
41
  InetSocketAddress iaddr = InetSocketAddress::ConvertFrom (from);
41
  InetSocketAddress iaddr = InetSocketAddress::ConvertFrom (from);
(-)a/examples/routing/manet-routing-compare.cc (-1 / +1 lines)
 Lines 119-125    Link Here 
119
{
119
{
120
}
120
}
121
121
122
std::string
122
static inline std::string
123
PrintReceivedPacket (Ptr<Socket> socket, Ptr<Packet> packet)
123
PrintReceivedPacket (Ptr<Socket> socket, Ptr<Packet> packet)
124
{
124
{
125
  SocketAddressTag tag;
125
  SocketAddressTag tag;
(-)a/examples/wireless/multirate.cc (-2 / +2 lines)
 Lines 309-322    Link Here 
309
    }
309
    }
310
}
310
}
311
311
312
Vector
312
static inline Vector
313
GetPosition (Ptr<Node> node)
313
GetPosition (Ptr<Node> node)
314
{
314
{
315
  Ptr<MobilityModel> mobility = node->GetObject<MobilityModel> ();
315
  Ptr<MobilityModel> mobility = node->GetObject<MobilityModel> ();
316
  return mobility->GetPosition ();
316
  return mobility->GetPosition ();
317
}
317
}
318
318
319
std::string
319
static inline std::string
320
PrintPosition (Ptr<Node> client, Ptr<Node> server)
320
PrintPosition (Ptr<Node> client, Ptr<Node> server)
321
{
321
{
322
  Vector serverPos = GetPosition (server);
322
  Vector serverPos = GetPosition (server);
(-)a/examples/wireless/wifi-simple-interference.cc (-2 / +2 lines)
 Lines 96-102    Link Here 
96
96
97
using namespace ns3;
97
using namespace ns3;
98
98
99
std::string PrintReceivedPacket (Ptr<Socket> socket)
99
static inline std::string PrintReceivedPacket (Ptr<Socket> socket)
100
{
100
{
101
  Address addr;
101
  Address addr;
102
  socket->GetSockName (addr);
102
  socket->GetSockName (addr);
 Lines 108-114    Link Here 
108
  return oss.str ();
108
  return oss.str ();
109
}
109
}
110
110
111
void ReceivePacket (Ptr<Socket> socket)
111
static void ReceivePacket (Ptr<Socket> socket)
112
{
112
{
113
  NS_LOG_UNCOND (PrintReceivedPacket (socket));
113
  NS_LOG_UNCOND (PrintReceivedPacket (socket));
114
}
114
}
(-)a/src/test/ns3wifi/wifi-interference-test-suite.cc (-1 / +1 lines)
 Lines 77-83    Link Here 
77
{
77
{
78
}
78
}
79
79
80
std::string
80
static inline std::string
81
PrintReceivedPacket (Ptr<Socket> socket)
81
PrintReceivedPacket (Ptr<Socket> socket)
82
{
82
{
83
  Address addr;
83
  Address addr;
(-)a/src/topology-read/model/rocketfuel-topology-reader.cc (-1 / +1 lines)
 Lines 77-83    Link Here 
77
int nodesNumber = 0;
77
int nodesNumber = 0;
78
std::map<std::string, Ptr<Node> > nodeMap;
78
std::map<std::string, Ptr<Node> > nodeMap;
79
79
80
void
80
static inline void
81
PrintNodeInfo (std::string & uid, std::string & loc, bool dns, bool bb,
81
PrintNodeInfo (std::string & uid, std::string & loc, bool dns, bool bb,
82
               std::vector <std::string>::size_type neighListSize,
82
               std::vector <std::string>::size_type neighListSize,
83
               std::string & name, int radius)
83
               std::string & name, int radius)

Return to bug 1170