X-Git-Url: http://git.efficios.com/?p=babeltrace.git;a=blobdiff_plain;f=include%2Fbabeltrace2%2Fgraph%2Fgraph.h;h=4e85e4274c2571422d3c7dfacbe651e22573c086;hp=4b1909e83e5ced336593933dfba6fa0ddaf399de;hb=4fa90f321f51af8f5bfc48eee1435e2f41d853b3;hpb=924dc299c8a893e92fcd985fa05c245b591ef314 diff --git a/include/babeltrace2/graph/graph.h b/include/babeltrace2/graph/graph.h index 4b1909e8..4e85e427 100644 --- a/include/babeltrace2/graph/graph.h +++ b/include/babeltrace2/graph/graph.h @@ -24,6 +24,10 @@ * SOFTWARE. */ +#ifndef __BT_IN_BABELTRACE_H +# error "Please include instead." +#endif + /* * For bt_bool, bt_component, bt_component_class, * bt_component_class_filter, bt_component_class_sink, @@ -36,11 +40,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 @@ -258,6 +257,4 @@ extern bt_graph_cancel_status bt_graph_cancel(bt_graph *graph); } #endif -#include - #endif /* BABELTRACE2_GRAPH_GRAPH_H */