diff options
| author | Wladimir J. van der Laan <[email protected]> | 2014-08-20 16:59:00 +0200 |
|---|---|---|
| committer | Wladimir J. van der Laan <[email protected]> | 2014-08-26 13:25:21 +0200 |
| commit | f780e65ac632d2cad51d00c2b4a93248a5df91a6 (patch) | |
| tree | ac32c82183a3ca6525ce1b5b2196b2ab9d2e59c4 /src/util.h | |
| parent | Remove unused `alignup` function from util.h (diff) | |
| download | discoin-f780e65ac632d2cad51d00c2b4a93248a5df91a6.tar.xz discoin-f780e65ac632d2cad51d00c2b4a93248a5df91a6.zip | |
Remove unused function `ByteReverse` from util.h
Diffstat (limited to 'src/util.h')
| -rw-r--r-- | src/util.h | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/src/util.h b/src/util.h index 10fc5dd58..785d4056e 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: |