0
0
mirror of https://github.com/netwide-assembler/nasm.git synced 2025-10-10 00:25:06 -04:00

strlist: merge the strtbl and strlist interfaces

The currently-unused strtbl was basically a slightly different version
of strlist, with the find and linearize capabilities. Merge these two
together by augmenting strlist to have the same capabilities.

Signed-off-by: H. Peter Anvin (Intel) <hpa@zytor.com>
This commit is contained in:
H. Peter Anvin (Intel)
2018-12-11 13:06:14 -08:00
parent ebb05a0e5f
commit 64471097ca
10 changed files with 72 additions and 196 deletions

View File

@@ -1974,7 +1974,7 @@ static void obj_write_file(void)
* Output file dependency information
*/
if (!obj_nodepend && depend_list) {
list_for_each(depfile, depend_list->head) {
strlist_for_each(depfile, depend_list) {
uint32_t ts;
ts = obj_file_timestamp(depfile->str);