diff options
Diffstat (limited to 'include/util.h')
-rw-r--r-- | include/util.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/include/util.h b/include/util.h index d8967ec0c0..fd8f5d40c9 100644 --- a/include/util.h +++ b/include/util.h @@ -146,6 +146,11 @@ int uint64divmod(uint64_t *v, int by); */ int get_next_bit(uint32_t *mask); +/** + * Reverse's the byte-order of the provided buffer. + */ +void reverse(void *dest, size_t len); + /****************************************************************************/ /* Conditional stuff. |