From eab0c42eac865a7e965878a7f2ad548371bd34d5 Mon Sep 17 00:00:00 2001 From: Christopher Peplin Date: Mon, 6 Jan 2014 13:58:36 -0500 Subject: Standardize order of arguments - destination is always last. --- src/bitfield/8byte.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/bitfield/8byte.h') diff --git a/src/bitfield/8byte.h b/src/bitfield/8byte.h index 2916c218..04512690 100644 --- a/src/bitfield/8byte.h +++ b/src/bitfield/8byte.h @@ -74,8 +74,8 @@ uint8_t eightbyte_get_byte(const uint64_t source, const uint8_t byte_index, * Returns true if the bit_count is enough to fully represent the value, and * false if it will not fit. */ -bool eightbyte_set_bitfield(uint64_t* destination, uint64_t value, - const uint16_t offset, const uint16_t bit_count); +bool eightbyte_set_bitfield(uint64_t value, + const uint16_t offset, const uint16_t bit_count, uint64_t* destination); /* Private: Determine the index of the last bit used. */ -- cgit 1.2.3-korg