lib: remove "For *" comments in public headers
[babeltrace.git] / include / babeltrace2 / trace-ir / trace-const.h
index 88ae1ecd7c82147190d4133b23d3e6bbb94a392e..45b273f666b228225efca10eb85e713d2f903c4c 100644 (file)
@@ -1,5 +1,5 @@
-#ifndef BABELTRACE_TRACE_IR_TRACE_CONST_H
-#define BABELTRACE_TRACE_IR_TRACE_CONST_H
+#ifndef BABELTRACE2_TRACE_IR_TRACE_CONST_H
+#define BABELTRACE2_TRACE_IR_TRACE_CONST_H
 
 /*
  * Copyright 2017-2018 Philippe Proulx <pproulx@efficios.com>
  * http://www.efficios.com/ctf
  */
 
+#ifndef __BT_IN_BABELTRACE_H
+# error "Please include <babeltrace2/babeltrace.h> instead."
+#endif
+
 #include <stdint.h>
 
-/*
- * For bt_bool, bt_uuid, bt_trace, bt_stream, bt_stream_class,
- * bt_field_class, bt_value
- */
 #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
@@ -110,6 +105,4 @@ extern void bt_trace_put_ref(const bt_trace *trace);
 }
 #endif
 
-#include <babeltrace2/undef-func-status.h>
-
-#endif /* BABELTRACE_TRACE_IR_TRACE_CONST_H */
+#endif /* BABELTRACE2_TRACE_IR_TRACE_CONST_H */
This page took 0.023694 seconds and 4 git commands to generate.