From 6584bfa36149c0fcad177b4bff114f2dbb8fd25a Mon Sep 17 00:00:00 2001 From: Xiang Xiao Date: Wed, 16 Sep 2020 02:24:01 +0800 Subject: [PATCH] fs: Add static to stat_recursive since it is called in one source file Signed-off-by: Xiang Xiao --- fs/vfs/fs_stat.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/fs/vfs/fs_stat.c b/fs/vfs/fs_stat.c index e8b9714c73..de62586adf 100644 --- a/fs/vfs/fs_stat.c +++ b/fs/vfs/fs_stat.c @@ -58,7 +58,8 @@ ****************************************************************************/ static inline int statroot(FAR struct stat *buf); -int stat_recursive(FAR const char *path, FAR struct stat *buf, int resolve); +static int stat_recursive(FAR const char *path, + FAR struct stat *buf, int resolve); /**************************************************************************** * Private Functions @@ -93,7 +94,8 @@ static inline int statroot(FAR struct stat *buf) * ****************************************************************************/ -int stat_recursive(FAR const char *path, FAR struct stat *buf, int resolve) +static int stat_recursive(FAR const char *path, + FAR struct stat *buf, int resolve) { struct inode_search_s desc; FAR struct inode *inode;