From 4e6cbfbd8003128e304ee6626fbe509477c98913 Mon Sep 17 00:00:00 2001 From: jakcron Date: Sun, 15 Nov 2015 03:53:01 +0800 Subject: [PATCH] [makerom] made function name more accurate. --- makerom/romfs_fs.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/makerom/romfs_fs.c b/makerom/romfs_fs.c index 8c21e3a..4c09265 100644 --- a/makerom/romfs_fs.c +++ b/makerom/romfs_fs.c @@ -4,7 +4,7 @@ /* This is the FS interface for ROMFS generation */ /* Tested working on Windows/Linux/OSX */ -int OpenDir(romfs_dir *dir); +int PopulateDir(romfs_dir *dir); int InitDir(romfs_dir *dir); int ManageDir(romfs_dir *dir); @@ -157,10 +157,10 @@ int OpenRootDir(const char *path, romfs_dir *dir) dir->name = romfs_CopyStr(ROMFS_EMPTY_PATH); dir->namesize = 0; - return OpenDir(dir); + return PopulateDir(dir); } -int OpenDir(romfs_dir *dir) +int PopulateDir(romfs_dir *dir) { fs_DIR *dp, *tmp_dp; struct fs_dirent *entry; @@ -201,7 +201,7 @@ int OpenDir(romfs_dir *dir) dir->u_child++; // Populate directory - OpenDir(&dir->child[dir->u_child-1]); + PopulateDir(&dir->child[dir->u_child-1]); } // Otherwise this is a file else {