Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/littlefs-project/littlefs.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristopher Haster <chaster@utexas.edu>2017-04-24 07:49:21 +0300
committerChristopher Haster <chaster@utexas.edu>2017-04-24 07:58:43 +0300
commitb55719bab156e66908ce86e8525b5eea15bec7da (patch)
tree0ccedb1a977e09f40d9dacd97af92a7576553bf6 /lfs_util.h
parent0406442253dcb6b813e6ff9a1659bd418fd0fe96 (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.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/lfs_util.h b/lfs_util.h
index 533ef11..7df8170 100644
--- a/lfs_util.h
+++ b/lfs_util.h
@@ -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