diff options
Diffstat (limited to 'src/tar_type.h')
-rw-r--r-- | src/tar_type.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/tar_type.h b/src/tar_type.h index dae1df05c..50c238f77 100644 --- a/src/tar_type.h +++ b/src/tar_type.h @@ -35,9 +35,9 @@ struct TarFileListEntry { typedef std::map<std::string, TarListEntry> TarList; typedef std::map<std::string, TarFileListEntry> TarFileList; -extern TarList _tar_list; -extern TarFileList _tar_filelist; +extern TarList _tar_list[NUM_SUBDIRS]; +extern TarFileList _tar_filelist[NUM_SUBDIRS]; -#define FOR_ALL_TARS(tar) for (tar = _tar_filelist.begin(); tar != _tar_filelist.end(); tar++) +#define FOR_ALL_TARS(tar, sd) for (tar = _tar_filelist[sd].begin(); tar != _tar_filelist[sd].end(); tar++) #endif /* TAR_TYPE_H */ |