Signed-off-by: Sheng Yong <[email protected]>
---
fsck/fsck.h | 3 +++
fsck/main.c | 2 +-
2 files changed, 4 insertions(+), 1 deletion(-)
diff --git a/fsck/fsck.h b/fsck/fsck.h
index 6cac926..4ca75b3 100644
--- a/fsck/fsck.h
+++ b/fsck/fsck.h
@@ -353,4 +353,7 @@ int update_inode(struct f2fs_sb_info *sbi, struct f2fs_node
*inode,
int flush_nat_journal_entries(struct f2fs_sb_info *sbi);
int flush_sit_journal_entries(struct f2fs_sb_info *sbi);
+/* main.c */
+int is_digits(char *optarg);
+
#endif /* _FSCK_H_ */
diff --git a/fsck/main.c b/fsck/main.c
index 6edc902..9bda412 100644
--- a/fsck/main.c
+++ b/fsck/main.c
@@ -166,7 +166,7 @@ void label_usage()
exit(1);
}
-static int is_digits(char *optarg)
+int is_digits(char *optarg)
{
unsigned int i;
--
2.40.1
_______________________________________________
Linux-f2fs-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/linux-f2fs-devel