From 1139650320e764b6ba3582174a13babaa88fb1a1 Mon Sep 17 00:00:00 2001 From: Joshua Haberman Date: Sun, 28 Jun 2009 12:02:43 -0700 Subject: Use "static inline" instead of "extern inline" for now. --- upb_msg.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'upb_msg.h') 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]; } -- cgit v1.2.3