summaryrefslogtreecommitdiff
path: root/upb_msg.h
diff options
context:
space:
mode:
authorJoshua Haberman <joshua@reverberate.org>2009-06-28 12:02:43 -0700
committerJoshua Haberman <joshua@reverberate.org>2009-06-28 12:02:43 -0700
commit1139650320e764b6ba3582174a13babaa88fb1a1 (patch)
treef448c2274699e61d0a97ecff2fd78475163cfc77 /upb_msg.h
parent2da3b081c47fe8fe7476da228323d2040e876f56 (diff)
Use "static inline" instead of "extern inline" for now.
Diffstat (limited to 'upb_msg.h')
-rw-r--r--upb_msg.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/upb_msg.h b/upb_msg.h
index f7b07f3..78fd2ce 100644
--- a/upb_msg.h
+++ b/upb_msg.h
@@ -96,7 +96,7 @@ struct upb_fieldsbyname_entry {
struct upb_abbrev_msg_field f;
};
-struct upb_msg_field *upb_get_msg_field(
+INLINE struct upb_msg_field *upb_get_msg_field(
struct upb_abbrev_msg_field *f, struct upb_msg *m) {
return &m->fields[f->field_index];
}
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback