aboutsummaryrefslogtreecommitdiffstats
path: root/util
diff options
context:
space:
mode:
authorTheodore Ts'o <tytso@mit.edu>2016-05-29 23:35:13 -0400
committerTheodore Ts'o <tytso@mit.edu>2016-05-29 23:51:08 -0400
commit478360f50b68356849813f97db46fd156da5248e (patch)
tree1dc673b47e0faa9efcd11ec93b88ecaa668c5661 /util
parent749f07121d9c98c317987a87f44c458745f39f15 (diff)
downloadandroid_external_e2fsprogs-478360f50b68356849813f97db46fd156da5248e.tar.gz
android_external_e2fsprogs-478360f50b68356849813f97db46fd156da5248e.tar.bz2
android_external_e2fsprogs-478360f50b68356849813f97db46fd156da5248e.zip
Fix Android build warnings
Also fix some additional gcc -Wall build warnings in a traditional Linux environment. Signed-off-by: Theodore Ts'o <tytso@mit.edu>
Diffstat (limited to 'util')
-rw-r--r--util/android_config.h1
-rw-r--r--util/gcc-wall-cleanup1
2 files changed, 2 insertions, 0 deletions
diff --git a/util/android_config.h b/util/android_config.h
index 51db4876..b3c12a7d 100644
--- a/util/android_config.h
+++ b/util/android_config.h
@@ -33,6 +33,7 @@
#define HAVE_STRCASECMP 1
#define HAVE_STRDUP 1
#define HAVE_STRINGS_H 1
+#define HAVE_STRNLEN 1
#define HAVE_STRPTIME 1
#define HAVE_SYSCONF 1
#define HAVE_SYS_IOCTL_H 1
diff --git a/util/gcc-wall-cleanup b/util/gcc-wall-cleanup
index 52a80d5f..cef7a2dc 100644
--- a/util/gcc-wall-cleanup
+++ b/util/gcc-wall-cleanup
@@ -13,6 +13,7 @@
/traditional C rejects string concatenation/d
/integer constant is unsigned in ANSI C, signed with -traditional/d
/ISO C forbids conversion of object pointer to function pointer type/,+2d
+/ISO C does not support ‘__FUNCTION__’ predefined identifier/d
/At top level:/d
/In file included from/d
/In function `.*':/d