X-Git-Url: http://git.efficios.com/?p=babeltrace.git;a=blobdiff_plain;f=include%2Fbabeltrace2%2Ftrace-ir%2Ftrace.h;h=0e0887210634ef7076932945f9b316334022bab2;hp=fcbf43f072e11f2ebfc584fdde8121d24abae6d7;hb=4fa90f321f51af8f5bfc48eee1435e2f41d853b3;hpb=924dc299c8a893e92fcd985fa05c245b591ef314 diff --git a/include/babeltrace2/trace-ir/trace.h b/include/babeltrace2/trace-ir/trace.h index fcbf43f0..0e088721 100644 --- a/include/babeltrace2/trace-ir/trace.h +++ b/include/babeltrace2/trace-ir/trace.h @@ -27,16 +27,15 @@ * http://www.efficios.com/ctf */ +#ifndef __BT_IN_BABELTRACE_H +# error "Please include instead." +#endif + #include /* For bt_bool, bt_uuid, bt_trace, bt_trace_class, bt_stream */ #include -/* For __BT_FUNC_STATUS_* */ -#define __BT_FUNC_STATUS_ENABLE -#include -#undef __BT_FUNC_STATUS_ENABLE - #ifdef __cplusplus extern "C" { #endif @@ -78,6 +77,4 @@ extern bt_stream *bt_trace_borrow_stream_by_id(bt_trace *trace, } #endif -#include - #endif /* BABELTRACE2_TRACE_IR_TRACE_H */