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.c | |
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.c')
-rw-r--r-- | lfs_util.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -7,7 +7,7 @@ #include "lfs_util.h" -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) { static const uint32_t rtable[16] = { 0x00000000, 0x1db71064, 0x3b6e20c8, 0x26d930ac, 0x76dc4190, 0x6b6b51f4, 0x4db26158, 0x5005713c, |