Adopted more conventional buffer parameter ordering

Adopted buffer followed by size. The other order was original
chosen due to some other functions with a more complicated
parameter list.

This convention is important, as the bd api is one of the main
apis facing porting efforts.
This commit is contained in:
Christopher Haster
2017-04-23 23:49:21 -05:00
parent 0406442253
commit b55719bab1
6 changed files with 54 additions and 56 deletions

View File

@@ -33,7 +33,7 @@ static inline int lfs_scmp(uint32_t a, uint32_t b) {
return (int)(unsigned)(a - b);
}
uint32_t lfs_crc(uint32_t crc, size_t size, const void *buffer);
uint32_t lfs_crc(uint32_t crc, const void *buffer, size_t size);
// Logging functions