Merge pull request #181 from rojer/lfs1_crc

Make lfs1_crc static so it doesn't conflict with prefixed LFS1 code
This commit is contained in:
Christopher Haster 2019-05-23 16:40:09 -05:00 committed by GitHub
commit bc7bed740b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

2
lfs.c
View File

@ -3900,7 +3900,7 @@ typedef struct lfs1_superblock {
/// Low-level wrappers v1->v2 ///
void lfs1_crc(uint32_t *crc, const void *buffer, size_t size) {
static void lfs1_crc(uint32_t *crc, const void *buffer, size_t size) {
*crc = lfs_crc(*crc, buffer, size);
}