summaryrefslogtreecommitdiff
authormickeyl <mickeyl>2003-04-05 23:28:57 (UTC)
committer mickeyl <mickeyl>2003-04-05 23:28:57 (UTC)
commitc559d02196239873388540a07babb5a2112443d7 (patch) (side-by-side diff)
tree121e3e6fb1c5c7c55e7676103849dfda95d33c6b
parentb7682f160fafe69bfd47dcfb1c88f2ac2b1afaf5 (diff)
downloadopie-c559d02196239873388540a07babb5a2112443d7.zip
opie-c559d02196239873388540a07babb5a2112443d7.tar.gz
opie-c559d02196239873388540a07babb5a2112443d7.tar.bz2
remove inline directive - causes link errors
Diffstat (more/less context) (show 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
@@ -70,35 +70,35 @@ OMacAddress::OMacAddress( const unsigned char* p )
{
memcpy( _bytes, p, 6 );
}
OMacAddress::OMacAddress( struct ifreq& ifr )
{
memcpy( _bytes, ifr.ifr_hwaddr.sa_data, 6 );
}
OMacAddress::~OMacAddress()
{
}
-#ifdef QT_NO_DEBUG
-inline
-#endif
+//#ifdef QT_NO_DEBUG
+//inline
+//#endif
const unsigned char* OMacAddress::native() const
{
return (const unsigned char*) &_bytes;
}
OMacAddress OMacAddress::fromString( const QString& str )
{
QString addr( str );
unsigned char buf[6];
bool ok = true;
int index = 14;
for ( int i = 5; i >= 0; --i )
{
buf[i] = addr.right( 2 ).toUShort( &ok, 16 );
if ( !ok ) return OMacAddress::unknown;