fs: Add static to stat_recursive
since it is called in one source file Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
This commit is contained in:
parent
1e848e5d8b
commit
6584bfa361
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue