git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@30306 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Oliver Ruiz Dorantes 2009-04-21 21:36:37 +00:00
parent b518478165
commit 3a75fb9c85

View File

@ -23,12 +23,12 @@ static inline void bacpy(bdaddr_t* dst, bdaddr_t* src)
static inline void baswap(bdaddr_t* dst, bdaddr_t* src)
{
register uint8* d = (uint8*)dst;
register uint8* s = (uint8*)src;
register int i;
for(i=0; i<6; i++) d[i] = s[5-i];
register uint8* d = (uint8*)dst;
register uint8* s = (uint8*)src;
register int i;
for(i = 0; i < 6; i++)
d[i] = s[5 - i];
}