Browse Source

Remove unused function `ByteReverse` from util.h

0.10
Wladimir J. van der Laan 10 years ago
parent
commit
f780e65ac6
  1. 6
      src/util.h

6
src/util.h

@ -372,12 +372,6 @@ inline void SetThreadPriority(int nPriority)
void RenameThread(const char* name); void RenameThread(const char* name);
inline uint32_t ByteReverse(uint32_t value)
{
value = ((value & 0xFF00FF00) >> 8) | ((value & 0x00FF00FF) << 8);
return (value<<16) | (value>>16);
}
// Standard wrapper for do-something-forever thread functions. // Standard wrapper for do-something-forever thread functions.
// "Forever" really means until the thread is interrupted. // "Forever" really means until the thread is interrupted.
// Use it like: // Use it like:

Loading…
Cancel
Save