diff options
Diffstat (limited to 'net/arts++/files/patch-classes::src::ArtsRttTimeSeriesTableData.cc')
-rw-r--r-- | net/arts++/files/patch-classes::src::ArtsRttTimeSeriesTableData.cc | 124 |
1 files changed, 0 insertions, 124 deletions
diff --git a/net/arts++/files/patch-classes::src::ArtsRttTimeSeriesTableData.cc b/net/arts++/files/patch-classes::src::ArtsRttTimeSeriesTableData.cc deleted file mode 100644 index dd45bc91abac..000000000000 --- a/net/arts++/files/patch-classes::src::ArtsRttTimeSeriesTableData.cc +++ /dev/null @@ -1,124 +0,0 @@ ---- classes/src/ArtsRttTimeSeriesTableData.cc.orig Thu Oct 19 16:37:14 2000 -+++ classes/src/ArtsRttTimeSeriesTableData.cc Thu Jul 17 19:19:28 2003 -@@ -47,6 +47,7 @@ - #include <netinet/in.h> - #include <arpa/inet.h> - #include <time.h> -+#include <assert.h> - } - - #include <string> -@@ -192,7 +193,7 @@ - ostream & ArtsRttTimeSeriesTableEntry::write(ostream & os, - uint32_t timeBase, - uint32_t prevSecsOffset, -- uint8_t version = 0) const -+ uint8_t version) const - { - uint8_t rleFlags = 0; - uint8_t timestampSecsLength = 0; -@@ -217,7 +218,7 @@ - - timestampUsecsLength = BytesNeededForUint32(this->_timestamp.tv_usec); - rleFlags |= (timestampUsecsLength - 1); -- os.write(&rleFlags,sizeof(rleFlags)); -+ os.write((char *)&rleFlags,sizeof(rleFlags)); - if (rttLength > 0) - g_ArtsLibInternal_Primitive.WriteUint32(os,this->_rtt,rttLength); - if (timestampSecsLength > 0) -@@ -232,14 +233,14 @@ - // int ArtsRttTimeSeriesTableEntry::write(int fd, - // uint32_t timeBase, - // uint32_t prevSecsOffset, --// uint8_t version = 0) const -+// uint8_t version) const - //............................................................................ - // - //---------------------------------------------------------------------------- - int ArtsRttTimeSeriesTableEntry::write(int fd, - uint32_t timeBase, - uint32_t prevSecsOffset, -- uint8_t version = 0) const -+ uint8_t version) const - { - uint8_t rleFlags = 0; - uint8_t timestampSecsLength = 0; -@@ -302,7 +303,7 @@ - //---------------------------------------------------------------------------- - uint32_t ArtsRttTimeSeriesTableEntry::Length(uint32_t timeBase, - uint32_t prevSecsOffset, -- uint8_t version = 0) const -+ uint8_t version) const - { - uint32_t length = sizeof(uint8_t); // always have rleFlags - if (this->_rtt != k_droppedPacketRtt) { -@@ -330,13 +331,13 @@ - istream & ArtsRttTimeSeriesTableEntry::read(istream & is, - uint32_t timeBase, - uint32_t prevSecsOffset, -- uint8_t version = 0) -+ uint8_t version) - { - uint8_t rleFlags = 0; - uint8_t timestampUsecsLength = 0; - uint32_t timeVal; - -- is.read(&rleFlags,sizeof(rleFlags)); -+ is.read((char *)&rleFlags,sizeof(rleFlags)); - - if (rleFlags & 0x80) { - // it's a dropped packet; RTT length is 0 -@@ -374,7 +375,7 @@ - //---------------------------------------------------------------------------- - int ArtsRttTimeSeriesTableEntry::read(int fd, uint32_t timeBase, - uint32_t prevSecsOffset, -- uint8_t version = 0) -+ uint8_t version) - { - uint8_t rleFlags = 0; - uint8_t timestampUsecsLength = 0; -@@ -594,7 +595,7 @@ - //............................................................................ - // - //---------------------------------------------------------------------------- --istream & ArtsRttTimeSeriesTableData::read(istream& is, uint8_t version = 0) -+istream & ArtsRttTimeSeriesTableData::read(istream& is, uint8_t version) - { - uint32_t numRttEntries, rttEntryNum; - ArtsRttTimeSeriesTableEntry rttEntry; -@@ -623,7 +624,7 @@ - //............................................................................ - // - //---------------------------------------------------------------------------- --int ArtsRttTimeSeriesTableData::read(int fd, uint8_t version = 0) -+int ArtsRttTimeSeriesTableData::read(int fd, uint8_t version) - { - uint32_t numRttEntries, rttEntryNum; - ArtsRttTimeSeriesTableEntry rttEntry; -@@ -664,7 +665,7 @@ - //............................................................................ - // - //---------------------------------------------------------------------------- --uint32_t ArtsRttTimeSeriesTableData::Length(uint8_t version = 0) const -+uint32_t ArtsRttTimeSeriesTableData::Length(uint8_t version) const - { - uint32_t length = 0; - uint32_t rttEntryNum, numRttEntries; -@@ -693,7 +694,7 @@ - // - //---------------------------------------------------------------------------- - ostream & ArtsRttTimeSeriesTableData::write(ostream & os, -- uint8_t version = 0) const -+ uint8_t version) const - { - uint32_t numRttEntries, rttEntryNum; - uint32_t rttUsecs; -@@ -729,7 +730,7 @@ - //............................................................................ - // - //---------------------------------------------------------------------------- --int ArtsRttTimeSeriesTableData::write(int fd, uint8_t version = 0) const -+int ArtsRttTimeSeriesTableData::write(int fd, uint8_t version) const - { - uint32_t numRttEntries, rttEntryNum; - uint32_t rttUsecs; |