Standardize order of arguments - destination is always last.
[apps/agl-service-can-low-level.git] / src / bitfield / 8byte.h
index ab775ca..0451269 100644 (file)
@@ -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_bit_field(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.
  */