X-Git-Url: http://git.efficios.com/?p=babeltrace.git;a=blobdiff_plain;f=include%2Fbabeltrace2%2Fplugin%2Fplugin-dev.h;h=e2b03be09434678f946c6ed34ae2aafbb5d017bf;hp=b50a6cc18c4ee425fe35bba8db108929a26e3b2c;hb=4fa90f321f51af8f5bfc48eee1435e2f41d853b3;hpb=924dc299c8a893e92fcd985fa05c245b591ef314 diff --git a/include/babeltrace2/plugin/plugin-dev.h b/include/babeltrace2/plugin/plugin-dev.h index b50a6cc1..e2b03be0 100644 --- a/include/babeltrace2/plugin/plugin-dev.h +++ b/include/babeltrace2/plugin/plugin-dev.h @@ -27,6 +27,10 @@ * SOFTWARE. */ +#ifndef __BT_IN_BABELTRACE_H +# error "Please include instead." +#endif + #include /* For bt_component_class_type */ @@ -40,11 +44,6 @@ /* For bt_self_plugin */ #include -/* For __BT_FUNC_STATUS_* */ -#define __BT_FUNC_STATUS_ENABLE -#include -#undef __BT_FUNC_STATUS_ENABLE - /* * _BT_HIDDEN: set the hidden attribute for internal functions * On Windows, symbols are local unless explicitly exported, @@ -1479,6 +1478,4 @@ struct __bt_plugin_component_class_descriptor_attribute const * const *__bt_get_ } #endif -#include - #endif /* BABELTRACE2_PLUGIN_PLUGIN_DEV_H */