lib: force user to include `<babeltrace2/babeltrace.h>`
[babeltrace.git] / include / babeltrace2 / current-thread.h
index 65d32ec1830134c544b57e08806245ec7c7b80ff..125db20e1e1af00ce7f9695fd411577488975fdd 100644 (file)
  * SOFTWARE.
  */
 
+#ifndef __BT_IN_BABELTRACE_H
+# error "Please include <babeltrace2/babeltrace.h> instead."
+#endif
+
 #include <stdarg.h>
 
 /*
  */
 #include <babeltrace2/types.h>
 
-/* For __BT_FUNC_STATUS_* */
-#define __BT_FUNC_STATUS_ENABLE
-#include <babeltrace2/func-status.h>
-#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 <babeltrace2/undef-func-status.h>
-
 #endif /* BABELTRACE2_CURRENT_THREAD_H */
This page took 0.026347 seconds and 4 git commands to generate.