X-Git-Url: http://git.efficios.com/?p=babeltrace.git;a=blobdiff_plain;f=include%2Fbabeltrace2%2Fplugin%2Fplugin-const.h;h=df82ddc029895705227110af8a3fbd382c9e6025;hp=034fb5431564dd4e7ba0649de00c70e48223196e;hb=4fa90f321f51af8f5bfc48eee1435e2f41d853b3;hpb=924dc299c8a893e92fcd985fa05c245b591ef314 diff --git a/include/babeltrace2/plugin/plugin-const.h b/include/babeltrace2/plugin/plugin-const.h index 034fb543..df82ddc0 100644 --- a/include/babeltrace2/plugin/plugin-const.h +++ b/include/babeltrace2/plugin/plugin-const.h @@ -26,6 +26,10 @@ * SOFTWARE. */ +#ifndef __BT_IN_BABELTRACE_H +# error "Please include instead." +#endif + #include #include @@ -39,11 +43,6 @@ /* For bt_property_availability */ #include -/* For __BT_FUNC_STATUS_* */ -#define __BT_FUNC_STATUS_ENABLE -#include -#undef __BT_FUNC_STATUS_ENABLE - #ifdef __cplusplus extern "C" { #endif @@ -162,6 +161,4 @@ extern void bt_plugin_put_ref(const bt_plugin *plugin); } #endif -#include - #endif /* BABELTRACE2_PLUGIN_PLUGIN_CONST_H */