summaryrefslogtreecommitdiff
authormickeyl <mickeyl>2003-04-05 23:28:57 (UTC)
committer mickeyl <mickeyl>2003-04-05 23:28:57 (UTC)
commitc559d02196239873388540a07babb5a2112443d7 (patch) (unidiff)
tree121e3e6fb1c5c7c55e7676103849dfda95d33c6b
parentb7682f160fafe69bfd47dcfb1c88f2ac2b1afaf5 (diff)
downloadopie-c559d02196239873388540a07babb5a2112443d7.zip
opie-c559d02196239873388540a07babb5a2112443d7.tar.gz
opie-c559d02196239873388540a07babb5a2112443d7.tar.bz2
remove inline directive - causes link errors
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--libopie2/opienet/onetutils.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/libopie2/opienet/onetutils.cpp b/libopie2/opienet/onetutils.cpp
index 0fb21ff..2485f30 100644
--- a/libopie2/opienet/onetutils.cpp
+++ b/libopie2/opienet/onetutils.cpp
@@ -74,27 +74,27 @@ OMacAddress::OMacAddress( const unsigned char* p )
74 74
75OMacAddress::OMacAddress( struct ifreq& ifr ) 75OMacAddress::OMacAddress( struct ifreq& ifr )
76{ 76{
77 memcpy( _bytes, ifr.ifr_hwaddr.sa_data, 6 ); 77 memcpy( _bytes, ifr.ifr_hwaddr.sa_data, 6 );
78} 78}
79 79
80 80
81OMacAddress::~OMacAddress() 81OMacAddress::~OMacAddress()
82{ 82{
83} 83}
84 84
85 85
86#ifdef QT_NO_DEBUG 86//#ifdef QT_NO_DEBUG
87inline 87//inline
88#endif 88//#endif
89const unsigned char* OMacAddress::native() const 89const unsigned char* OMacAddress::native() const
90{ 90{
91 return (const unsigned char*) &_bytes; 91 return (const unsigned char*) &_bytes;
92} 92}
93 93
94 94
95OMacAddress OMacAddress::fromString( const QString& str ) 95OMacAddress OMacAddress::fromString( const QString& str )
96{ 96{
97 QString addr( str ); 97 QString addr( str );
98 unsigned char buf[6]; 98 unsigned char buf[6];
99 bool ok = true; 99 bool ok = true;
100 int index = 14; 100 int index = 14;