From 0c737d3b2e4728347cf4d52025f9fc2ebbee6e90 Mon Sep 17 00:00:00 2001 From: William Wilgus Date: Wed, 1 May 2024 10:01:56 -0400 Subject: readdir_r use in tagcache.check_dir, ft_load Change-Id: Ibcde39ed247e100dd47ae877fb2a3625bbb38d8b --- firmware/target/hosted/filesystem-app.h | 1 + 1 file changed, 1 insertion(+) (limited to 'firmware/target/hosted/filesystem-app.h') diff --git a/firmware/target/hosted/filesystem-app.h b/firmware/target/hosted/filesystem-app.h index b35b63e95f..2d7d6e817d 100644 --- a/firmware/target/hosted/filesystem-app.h +++ b/firmware/target/hosted/filesystem-app.h @@ -107,6 +107,7 @@ ssize_t app_readlink(const char *path, char *buf, size_t bufsize); #ifndef DIRFUNCTIONS_DECLARED DIR * app_opendir(const char *dirname); struct dirent * app_readdir(DIR *dirp); +int app_readdir_r(DIR *dirp, struct dirent* entry, struct dirent **result); int app_closedir(DIR *dirp); int app_mkdir(const char *path); int app_rmdir(const char *path); -- cgit v1.2.3