aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWladimir J. van der Laan <laanwj@gmail.com>2014-08-20 16:59:00 +0200
committerWladimir J. van der Laan <laanwj@gmail.com>2014-08-26 13:25:21 +0200
commitf780e65ac632d2cad51d00c2b4a93248a5df91a6 (patch)
treeac32c82183a3ca6525ce1b5b2196b2ab9d2e59c4
parent121d6ad9dbedd6a13b12d75a4c48505797d8de9d (diff)
Remove unused function `ByteReverse` from util.h
-rw-r--r--src/util.h6
1 files changed, 0 insertions, 6 deletions
diff --git a/src/util.h b/src/util.h
index 10fc5dd58e..785d4056e7 100644
--- a/src/util.h
+++ b/src/util.h
@@ -372,12 +372,6 @@ inline void SetThreadPriority(int nPriority)
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.
// "Forever" really means until the thread is interrupted.
// Use it like: