-extern void bt_ctf_field_type_get(struct bt_field_type *type);
-extern void bt_ctf_field_type_put(struct bt_field_type *type);
+
+/* Pre-2.0 CTF writer compatibility */
+static inline
+void bt_ctf_field_type_get(struct bt_field_type *type)
+{
+ bt_get(type);
+}
+
+/* Pre-2.0 CTF writer compatibility */
+static inline
+void bt_ctf_field_type_put(struct bt_field_type *type)
+{
+ bt_put(type);
+}