diff mbox series

cmd: fat: Make do_fat_size static

Message ID 20241026073310.101619-1-ilias.apalodimas@linaro.org
State Accepted
Commit d4fa8da88c7b12d59c98347fb34827b0fdbe0f8b
Headers show
Series cmd: fat: Make do_fat_size static | expand

Commit Message

Ilias Apalodimas Oct. 26, 2024, 7:33 a.m. UTC
This is only used locally,so make it static

Signed-off-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>
---
 cmd/fat.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Tom Rini Oct. 29, 2024, 10:28 p.m. UTC | #1
On Sat, 26 Oct 2024 10:33:09 +0300, Ilias Apalodimas wrote:

> This is only used locally,so make it static
> 
> 

Applied to u-boot/master, thanks!
diff mbox series

Patch

diff --git a/cmd/fat.c b/cmd/fat.c
index 1655e80e9450..5b7484dc1af7 100644
--- a/cmd/fat.c
+++ b/cmd/fat.c
@@ -14,7 +14,7 @@ 
 #include <part.h>
 #include <asm/cache.h>
 
-int do_fat_size(struct cmd_tbl *cmdtp, int flag, int argc, char *const argv[])
+static int do_fat_size(struct cmd_tbl *cmdtp, int flag, int argc, char *const argv[])
 {
 	return do_size(cmdtp, flag, argc, argv, FS_TYPE_FAT);
 }