diff options
author | Christopher Haster <chaster@utexas.edu> | 2017-04-24 07:49:21 +0300 |
---|---|---|
committer | Christopher Haster <chaster@utexas.edu> | 2017-04-24 07:58:43 +0300 |
commit | b55719bab156e66908ce86e8525b5eea15bec7da (patch) | |
tree | 0ccedb1a977e09f40d9dacd97af92a7576553bf6 /lfs_util.h | |
parent | 0406442253dcb6b813e6ff9a1659bd418fd0fe96 (diff) |
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.
Diffstat (limited to 'lfs_util.h')
-rw-r--r-- | lfs_util.h | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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 |