X-Git-Url: https://wimlib.net/git/?p=wimlib;a=blobdiff_plain;f=src%2Flookup_table.h;h=f0ee25b78f2d89761352afaa4860a39e1f783312;hp=56e030589fd2a83c10d609fab9198fa4e6642c8c;hb=239e67483b8d6759fa97f25a65011cc3480368bc;hpb=ed828dc4cbf4eabc9f8b32cb4c6a86a04e087f7a diff --git a/src/lookup_table.h b/src/lookup_table.h index 56e03058..f0ee25b7 100644 --- a/src/lookup_table.h +++ b/src/lookup_table.h @@ -27,13 +27,11 @@ struct lookup_table { struct wimlib_fd; #ifdef WITH_NTFS_3G -typedef struct _ntfs_attr ntfs_attr; -typedef struct _ntfs_volume ntfs_volume; struct ntfs_location { char *path_utf8; char *stream_name_utf16; u16 stream_name_utf16_num_chars; - ntfs_volume **ntfs_vol_p; + struct _ntfs_volume **ntfs_vol_p; bool is_reparse_point; }; #endif @@ -105,7 +103,7 @@ struct lookup_table_entry { struct lookup_table_entry *next_lte_in_swm; FILE *file_on_disk_fp; #ifdef WITH_NTFS_3G - ntfs_attr *attr; + struct _ntfs_attr *attr; #endif }; #ifdef WITH_FUSE @@ -312,7 +310,7 @@ static inline const u8 *dentry_stream_hash_resolved(const struct dentry *dentry, if (lte) return lte->hash; else - return NULL; + return zero_hash; } /*