X-Git-Url: http://git.efficios.com/?p=babeltrace.git;a=blobdiff_plain;f=include%2Fbabeltrace2%2Fcurrent-thread.h;h=125db20e1e1af00ce7f9695fd411577488975fdd;hp=65d32ec1830134c544b57e08806245ec7c7b80ff;hb=4fa90f321f51af8f5bfc48eee1435e2f41d853b3;hpb=924dc299c8a893e92fcd985fa05c245b591ef314 diff --git a/include/babeltrace2/current-thread.h b/include/babeltrace2/current-thread.h index 65d32ec1..125db20e 100644 --- a/include/babeltrace2/current-thread.h +++ b/include/babeltrace2/current-thread.h @@ -23,6 +23,10 @@ * SOFTWARE. */ +#ifndef __BT_IN_BABELTRACE_H +# error "Please include instead." +#endif + #include /* @@ -31,11 +35,6 @@ */ #include -/* For __BT_FUNC_STATUS_* */ -#define __BT_FUNC_STATUS_ENABLE -#include -#undef __BT_FUNC_STATUS_ENABLE - #ifdef __cplusplus extern "C" { #endif @@ -98,6 +97,4 @@ bt_current_thread_error_append_cause_from_message_iterator( } #endif -#include - #endif /* BABELTRACE2_CURRENT_THREAD_H */