Remove unused function ByteReverse
from util.h
This commit is contained in:
parent
121d6ad9db
commit
f780e65ac6
1 changed files with 0 additions and 6 deletions
|
@ -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…
Reference in a new issue