X-Git-Url: http://git.efficios.com/?p=babeltrace.git;a=blobdiff_plain;f=include%2Fbabeltrace2%2Fgraph%2Fself-component.h;h=f0b02ee80a6486f1d687d1fb308d674023b4229c;hp=a63312c4a362027d9dfef47fe609e12819950618;hb=4fa90f321f51af8f5bfc48eee1435e2f41d853b3;hpb=924dc299c8a893e92fcd985fa05c245b591ef314 diff --git a/include/babeltrace2/graph/self-component.h b/include/babeltrace2/graph/self-component.h index a63312c4..f0b02ee8 100644 --- a/include/babeltrace2/graph/self-component.h +++ b/include/babeltrace2/graph/self-component.h @@ -23,14 +23,13 @@ * SOFTWARE. */ +#ifndef __BT_IN_BABELTRACE_H +# error "Please include instead." +#endif + /* For bt_component, bt_self_component, __BT_UPCAST */ #include -/* For __BT_FUNC_STATUS_* */ -#define __BT_FUNC_STATUS_ENABLE -#include -#undef __BT_FUNC_STATUS_ENABLE - #ifdef __cplusplus extern "C" { #endif @@ -58,6 +57,4 @@ extern void bt_self_component_set_data( } #endif -#include - #endif /* BABELTRACE2_GRAPH_SELF_COMPONENT_H */