summaryrefslogtreecommitdiff
path: root/ext4_utils
diff options
context:
space:
mode:
authorDan Albert <danalbert@google.com>2016-02-02 15:35:33 -0800
committerDan Albert <danalbert@google.com>2016-02-02 16:33:01 -0800
commit879785074ca93e13896ce364a45eb5cc17081c4a (patch)
tree53c9f2456a600403f9cbea126c0c3690b68982c8 /ext4_utils
parentdd681db9a7978abeb783af206406cfcae0b8514d (diff)
downloadextras-879785074ca93e13896ce364a45eb5cc17081c4a.tar.gz
Fix warnings in system/extras.
Bug: http://b/26936282 Change-Id: I1b9c6c9bb06944c32abcb871279d056eea0fb11a
Diffstat (limited to 'ext4_utils')
-rw-r--r--ext4_utils/make_ext4fs.c13
1 files changed, 13 insertions, 0 deletions
diff --git a/ext4_utils/make_ext4fs.c b/ext4_utils/make_ext4fs.c
index b4ebbce9..1ba415bd 100644
--- a/ext4_utils/make_ext4fs.c
+++ b/ext4_utils/make_ext4fs.c
@@ -41,6 +41,19 @@
/* These match the Linux definitions of these flags.
L_xx is defined to avoid conflicting with the win32 versions.
*/
+#undef S_IRWXU
+#undef S_IRGRP
+#undef S_IWGRP
+#undef S_IXGRP
+#undef S_IRWXG
+#undef S_IROTH
+#undef S_IWOTH
+#undef S_IXOTH
+#undef S_IRWXO
+#undef S_ISUID
+#undef S_ISGID
+#undef S_ISVTX
+
#define L_S_IRUSR 00400
#define L_S_IWUSR 00200
#define L_S_IXUSR 00100