X-Git-Url: http://git.efficios.com/?p=babeltrace.git;a=blobdiff_plain;f=include%2Fbabeltrace2%2Fgraph%2Fcomponent-class-sink.h;h=48d647f50f87eaceda63ac9ad11b63caa0b4cc5d;hp=80ee66c820bdc0b131e7362b04e2b7b74748dd88;hb=4fa90f321f51af8f5bfc48eee1435e2f41d853b3;hpb=924dc299c8a893e92fcd985fa05c245b591ef314 diff --git a/include/babeltrace2/graph/component-class-sink.h b/include/babeltrace2/graph/component-class-sink.h index 80ee66c8..48d647f5 100644 --- a/include/babeltrace2/graph/component-class-sink.h +++ b/include/babeltrace2/graph/component-class-sink.h @@ -24,6 +24,10 @@ * SOFTWARE. */ +#ifndef __BT_IN_BABELTRACE_H +# error "Please include instead." +#endif + #include /* For bt_component_class_*_status */ @@ -40,11 +44,6 @@ /* For bt_logging_level */ #include -/* For __BT_FUNC_STATUS_* */ -#define __BT_FUNC_STATUS_ENABLE -#include -#undef __BT_FUNC_STATUS_ENABLE - #ifdef __cplusplus extern "C" { #endif @@ -139,6 +138,4 @@ bt_component_class_sink_set_query_method( } #endif -#include - #endif /* BABELTRACE2_GRAPH_COMPONENT_CLASS_SINK_H */