diff options
-rw-r--r-- | booster/src/booster.c | 2 | ||||
-rw-r--r-- | booster/src/booster_stat.c | 13 |
2 files changed, 14 insertions, 1 deletions
diff --git a/booster/src/booster.c b/booster/src/booster.c index 9c1d81ac4ba..4e263d438a2 100644 --- a/booster/src/booster.c +++ b/booster/src/booster.c @@ -1555,7 +1555,7 @@ out: } struct dirent * -readdir (DIR *dir) +booster_readdir (DIR *dir) { struct booster_dir_handle *bh = (struct booster_dir_handle *)dir; struct dirent *dirp = NULL; diff --git a/booster/src/booster_stat.c b/booster/src/booster_stat.c index 85eb2bf72d2..6616c04ced8 100644 --- a/booster/src/booster_stat.c +++ b/booster/src/booster_stat.c @@ -59,6 +59,8 @@ booster_statvfs (const char *path, void *buf); extern int booster_statvfs64 (const char *path, void *buf); +extern void * +booster_readdir (void *dir); int stat (const char *path, void *buf) @@ -156,3 +158,14 @@ statvfs64 (const char *pathname, void *buf) return booster_statvfs64 (pathname, buf); } +void * +readdir (void *dir) +{ + return booster_readdir (dir); +} + +void * +readdir64 (void *dir) +{ + return booster_readdir (dir); +} |