Merge "libsync: ndk: Fix compilation in C mode." into oc-dev am: fb803d50d0
am: 409db49df8
Change-Id: Ic498ff2c35010988cdfeea107c313ed9ead09eaa
This commit is contained in:
commit
8a8e411868
1 changed files with 1 additions and 2 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue