X-Git-Url: http://git.efficios.com/?p=babeltrace.git;a=blobdiff_plain;f=include%2Fbabeltrace2%2Ftrace-ir%2Ffield-class.h;h=f66fbb44525383a0f1bc775f27834cce0fa3f8ce;hp=d6997db5aabc1e8f8cbe2066712da98f9c8cd9bd;hb=4fa90f321f51af8f5bfc48eee1435e2f41d853b3;hpb=924dc299c8a893e92fcd985fa05c245b591ef314 diff --git a/include/babeltrace2/trace-ir/field-class.h b/include/babeltrace2/trace-ir/field-class.h index d6997db5..f66fbb44 100644 --- a/include/babeltrace2/trace-ir/field-class.h +++ b/include/babeltrace2/trace-ir/field-class.h @@ -27,6 +27,10 @@ * http://www.efficios.com/ctf */ +#ifndef __BT_IN_BABELTRACE_H +# error "Please include instead." +#endif + #include #include @@ -36,11 +40,6 @@ /* For bt_field_class_integer_preferred_display_base */ #include -/* For __BT_FUNC_STATUS_* */ -#define __BT_FUNC_STATUS_ENABLE -#include -#undef __BT_FUNC_STATUS_ENABLE - #ifdef __cplusplus extern "C" { #endif @@ -167,6 +166,4 @@ extern bt_field_class *bt_field_class_variant_option_borrow_field_class( } #endif -#include - #endif /* BABELTRACE2_TRACE_IR_FIELD_CLASS_H */