summaryrefslogtreecommitdiff
path: root/ext4_utils/xattr.h
diff options
context:
space:
mode:
authorColin Cross <ccross@android.com>2014-01-23 12:53:30 -0800
committerColin Cross <ccross@android.com>2014-01-23 13:22:36 -0800
commit7900c773815d062deb266f744f95aa76b3573fa3 (patch)
treef07b5e4ab7aa617b09949bae9ddcdb7ae68aab20 /ext4_utils/xattr.h
parente35f7fedabf9346d299abe10af25eaf88207a133 (diff)
downloadextras-7900c773815d062deb266f744f95aa76b3573fa3.tar.gz
ext4_utils: refactor kernel headers
Move the kernel header includes into a single include file that can deal with getting the kernel int types correct on all platforms. Change-Id: Ied3dc6a0f5cbb3ceb686aa3de72f16e10a36462a
Diffstat (limited to 'ext4_utils/xattr.h')
-rw-r--r--ext4_utils/xattr.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext4_utils/xattr.h b/ext4_utils/xattr.h
index 60c01cef..0f323fdc 100644
--- a/ext4_utils/xattr.h
+++ b/ext4_utils/xattr.h
@@ -40,6 +40,6 @@ struct ext4_xattr_entry {
(char *)(entry) + EXT4_XATTR_LEN((entry)->e_name_len)))
#define EXT4_XATTR_SIZE(size) \
(((size) + EXT4_XATTR_ROUND) & ~EXT4_XATTR_ROUND)
-#define IS_LAST_ENTRY(entry) (*(__u32 *)(entry) == 0)
+#define IS_LAST_ENTRY(entry) (*(uint32_t *)(entry) == 0)
#endif /* !_SYSTEM_EXTRAS_EXT4_UTILS_XATTR_H */