Skip to content

Commit

Permalink
Remove unused function ByteReverse from util.h
Browse files Browse the repository at this point in the history
  • Loading branch information
laanwj committed Aug 26, 2014
1 parent 121d6ad commit f780e65
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions src/util.h
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit f780e65

Please sign in to comment.