X-Git-Url: https://wimlib.net/git/?a=blobdiff_plain;f=include%2Fwimlib%2Fmetadata.h;h=8a527ac3a860125e4b559ee50ff23abaa0f09073;hb=0a72460f9274f11689986f6b79ea42e512dd9213;hp=c262148d0fab24427248ca304db91553e66d64e2;hpb=57b76fd45cccd09aa1276c65a0097bdc69bd367f;p=wimlib diff --git a/include/wimlib/metadata.h b/include/wimlib/metadata.h index c262148d..8a527ac3 100644 --- a/include/wimlib/metadata.h +++ b/include/wimlib/metadata.h @@ -70,18 +70,18 @@ wim_get_current_security_data(WIMStruct *wim) return wim_get_current_image_metadata(wim)->security_data; } -/* Iterate over each inode in a WIM image that has not yet been hashed */ +/* Iterate over each inode in a WIM image */ #define image_for_each_inode(inode, imd) \ - list_for_each_entry(inode, &imd->inode_list, i_list) + list_for_each_entry(inode, &(imd)->inode_list, i_list) /* Iterate over each stream in a WIM image that has not yet been hashed */ #define image_for_each_unhashed_stream(lte, imd) \ - list_for_each_entry(lte, &imd->unhashed_streams, unhashed_list) + list_for_each_entry(lte, &(imd)->unhashed_streams, unhashed_list) /* Iterate over each stream in a WIM image that has not yet been hashed (safe * against stream removal) */ #define image_for_each_unhashed_stream_safe(lte, tmp, imd) \ - list_for_each_entry_safe(lte, tmp, &imd->unhashed_streams, unhashed_list) + list_for_each_entry_safe(lte, tmp, &(imd)->unhashed_streams, unhashed_list) extern void put_image_metadata(struct wim_image_metadata *imd,