aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTreehugger Robot <treehugger-gerrit@google.com>2020-09-16 16:53:20 +0000
committerGerrit Code Review <noreply-gerritcodereview@google.com>2020-09-16 16:53:20 +0000
commit12e203b59677e690d99284114c5cd746ea634bea (patch)
tree5b4643de23e273d66967cf3b87005242b8e98ec9
parentb4aa7a200ec0bdeab5db012b83fd5c36499cabd0 (diff)
parent11d8c35e70a7f4876ffa7919032ed62fe16732cc (diff)
downloaddevice_generic_goldfish-opengl-12e203b59677e690d99284114c5cd746ea634bea.tar.gz
device_generic_goldfish-opengl-12e203b59677e690d99284114c5cd746ea634bea.tar.bz2
device_generic_goldfish-opengl-12e203b59677e690d99284114c5cd746ea634bea.zip
Merge "Warning fix for asg_context_create"
-rw-r--r--system/OpenglSystemCommon/address_space_graphics_types.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/system/OpenglSystemCommon/address_space_graphics_types.h b/system/OpenglSystemCommon/address_space_graphics_types.h
index 5f0e9b67..753644bf 100644
--- a/system/OpenglSystemCommon/address_space_graphics_types.h
+++ b/system/OpenglSystemCommon/address_space_graphics_types.h
@@ -124,7 +124,7 @@ struct asg_context { // ptrs into RingStorage
// Helper function that will be common between guest and host:
// Given ring storage and a write buffer, returns asg_context that
// is the correct view into it.
-static struct asg_context asg_context_create(
+static inline struct asg_context asg_context_create(
char* ring_storage,
char* buffer,
uint32_t buffer_size) {