Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit fb803d50 authored by TreeHugger Robot's avatar TreeHugger Robot Committed by Android (Google) Code Review
Browse files

Merge "libsync: ndk: Fix compilation in C mode." into oc-dev

parents 76db3a52 5bebf848
Loading
Loading
Loading
Loading
+1 −2
Original line number Diff line number Diff line
@@ -69,8 +69,7 @@ struct sync_file_info *sync_file_info(int32_t fd);
 * The returned array is owned by the parent sync file info, and has
 * info->num_fences entries.
 */
inline struct sync_fence_info *sync_get_fence_info(
        const struct sync_file_info *info) {
static inline struct sync_fence_info* sync_get_fence_info(const struct sync_file_info* info) {
// This header should compile in C, but some C++ projects enable
// warnings-as-error for C-style casts.
#pragma GCC diagnostic push