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:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user