From 92fc780f7122de409b0d734c519f28e1d81f0fa4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Dani=C3=ABl=20van=20de=20Giessen?= Date: Mon, 23 Oct 2023 13:35:34 +0200 Subject: [PATCH] lfs_fs_raw* functions should be static --- lfs.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lfs.c b/lfs.c index 0827331c..aed1b072 100644 --- a/lfs.c +++ b/lfs.c @@ -4999,7 +4999,7 @@ static int lfs_fs_forceconsistency(lfs_t *lfs) { #endif #ifndef LFS_READONLY -int lfs_fs_rawmkconsistent(lfs_t *lfs) { +static int lfs_fs_rawmkconsistent(lfs_t *lfs) { // lfs_fs_forceconsistency does most of the work here int err = lfs_fs_forceconsistency(lfs); if (err) { @@ -5046,7 +5046,7 @@ static lfs_ssize_t lfs_fs_rawsize(lfs_t *lfs) { } #ifndef LFS_READONLY -int lfs_fs_rawgrow(lfs_t *lfs, lfs_size_t block_count) { +static int lfs_fs_rawgrow(lfs_t *lfs, lfs_size_t block_count) { // shrinking is not supported LFS_ASSERT(block_count >= lfs->block_count);