diff --git a/include/ntfs-3g/layout.h b/include/ntfs-3g/layout.h index 8670557e..daff97d1 100644 --- a/include/ntfs-3g/layout.h +++ b/include/ntfs-3g/layout.h @@ -311,6 +311,7 @@ typedef enum { #define MFT_REF_MASK_LE const_cpu_to_le64(MFT_REF_MASK_CPU) typedef u64 MFT_REF; +typedef le64 leMFT_REF; /* a little-endian MFT_MREF */ #define MK_MREF(m, s) ((MFT_REF)(((MFT_REF)(s) << 48) | \ ((MFT_REF)(m) & MFT_REF_MASK_CPU))) diff --git a/ntfsprogs/utils.h b/ntfsprogs/utils.h index 037ef9ae..68171a64 100644 --- a/ntfsprogs/utils.h +++ b/ntfsprogs/utils.h @@ -155,8 +155,4 @@ static __inline__ ntfschar *ntfs_attr_get_name(ATTR_RECORD *attr) return (ntfschar*)((u8*)attr + le16_to_cpu(attr->name_offset)); } -/* The define 'leMFT_REF' is not present in libntfs-3g. It is only symbolic so - * typedef it to MFT_REF.*/ -typedef MFT_REF leMFT_REF; - #endif /* _NTFS_UTILS_H_ */