X-Git-Url: http://git.efficios.com/?p=babeltrace.git;a=blobdiff_plain;f=include%2Fbabeltrace2%2Fgraph%2Fcomponent-class.h;h=b666ba93fd008022e43b3ae89873ea12b0c77c4c;hp=bd399f3a1c91d1a1b95d50da686c683cbf659576;hb=4fa90f321f51af8f5bfc48eee1435e2f41d853b3;hpb=924dc299c8a893e92fcd985fa05c245b591ef314 diff --git a/include/babeltrace2/graph/component-class.h b/include/babeltrace2/graph/component-class.h index bd399f3a..b666ba93 100644 --- a/include/babeltrace2/graph/component-class.h +++ b/include/babeltrace2/graph/component-class.h @@ -24,14 +24,13 @@ * SOFTWARE. */ +#ifndef __BT_IN_BABELTRACE_H +# error "Please include instead." +#endif + /* For bt_component_class */ #include -/* For __BT_FUNC_STATUS_* */ -#define __BT_FUNC_STATUS_ENABLE -#include -#undef __BT_FUNC_STATUS_ENABLE - #ifdef __cplusplus extern "C" { #endif @@ -111,6 +110,4 @@ extern bt_component_class_set_help_status bt_component_class_set_help( } #endif -#include - #endif /* BABELTRACE2_GRAPH_COMPONENT_CLASS_H */