Move a few functions definitions out of headers
authortomh@ubuntu
Wed, 21 Feb 2007 00:02:27 -0800
changeset 311 f0a9889dff3a
parent 310 03f09f4d1a8d
child 312 ab65f5f404a7
Move a few functions definitions out of headers
src/node/serial-net-device.cc
src/node/serial-net-device.h
--- a/src/node/serial-net-device.cc	Tue Feb 20 23:58:21 2007 -0800
+++ b/src/node/serial-net-device.cc	Wed Feb 21 00:02:27 2007 -0800
@@ -138,4 +138,16 @@
     }
 }
 
+Queue* 
+SerialNetDevice::GetQueue(void) const 
+{ 
+    return m_queue;
+}
+
+SerialChannel* 
+SerialNetDevice::GetChannel(void) const 
+{ 
+    return m_channel;
+}
+
 } // namespace ns3
--- a/src/node/serial-net-device.h	Tue Feb 20 23:58:21 2007 -0800
+++ b/src/node/serial-net-device.h	Wed Feb 21 00:02:27 2007 -0800
@@ -53,8 +53,8 @@
   void Receive (Packet& p);
 
 protected:
-  Queue* GetQueue(void) const { return m_queue;};
-  SerialChannel* GetChannel(void) const { return m_channel;};
+  Queue* GetQueue(void) const; 
+  SerialChannel* GetChannel(void) const;
 
 private:
   virtual void NotifyDataAvailable (void);