Use std::map for rgblink symbols and sections

This commit is contained in:
Rangi42
2024-02-20 20:59:24 -05:00
committed by Sylvie
parent d5de3fa111
commit f44701c02d
7 changed files with 30 additions and 49 deletions

View File

@@ -661,7 +661,7 @@ static void freeNode(struct FileStackNode *node)
}
}
static void freeSection(struct Section *section, void *)
static void freeSection(struct Section *section)
{
do {
struct Section *next = section->nextu;
@@ -698,7 +698,7 @@ void obj_Cleanup(void)
sym_CleanupSymbols();
sect_ForEach(freeSection, NULL);
sect_ForEach(freeSection);
sect_CleanupSections();
for (struct SymbolList &list : symbolLists) {