commit | 6cd9fb080caca2d0d8fcb8f400c1ec466e7b2466 | [log] [tgz] |
---|---|---|
author | Josh Gao <jmgao@google.com> | Fri Sep 23 14:06:05 2016 -0700 |
committer | Josh Gao <jmgao@google.com> | Fri Sep 23 14:34:03 2016 -0700 |
tree | 100dbbffe89a02329ac0effd96ea3c322a2b9a77 | |
parent | 01733796100d63baf0b27f647fed98894e05a29a [diff] [blame] |
Fix warnings (and errors) in static inline headers. Bug: http://b/31676510 Change-Id: Idcbc544e498f7e6bbe99c2bf7dc557a5681e96c4 Test: preupload hook
diff --git a/libc/include/android/legacy_string_inlines.h b/libc/include/android/legacy_string_inlines.h index 6b711d7..af84f55 100644 --- a/libc/include/android/legacy_string_inlines.h +++ b/libc/include/android/legacy_string_inlines.h
@@ -24,8 +24,8 @@ #if __ANDROID_API__ < 21 -static __inline int strcoll_l(const char* _Nonnull s1, const char* _Nonnull s2, - locale_t l __unused) __purefunc { +static __inline __purefunc int strcoll_l(const char* _Nonnull s1, const char* _Nonnull s2, + locale_t l __unused) { return strcoll(s1, s2); }