lib: remove "For *" comments in public headers
[babeltrace.git] / include / babeltrace2 / graph / component-source-const.h
index 43e6b49ff1ceb25024df45a61fbbfa919a0cb499..9021571ff49daab931ffcf8249ce6320ae4e7004 100644 (file)
@@ -1,5 +1,5 @@
-#ifndef BABELTRACE_GRAPH_COMPONENT_SOURCE_CONST_H
-#define BABELTRACE_GRAPH_COMPONENT_SOURCE_CONST_H
+#ifndef BABELTRACE2_GRAPH_COMPONENT_SOURCE_CONST_H
+#define BABELTRACE2_GRAPH_COMPONENT_SOURCE_CONST_H
 
 /*
  * Copyright 2017-2018 Philippe Proulx <pproulx@efficios.com>
  * SOFTWARE.
  */
 
+#ifndef __BT_IN_BABELTRACE_H
+# error "Please include <babeltrace2/babeltrace.h> instead."
+#endif
+
 #include <stdint.h>
 
-/*
- * For bt_component, bt_component_filter, bt_port_output,
- * __BT_UPCAST_CONST, bt_component_class_source
- */
 #include <babeltrace2/types.h>
 
 #ifdef __cplusplus
@@ -81,4 +81,4 @@ extern void bt_component_source_put_ref(
 }
 #endif
 
-#endif /* BABELTRACE_GRAPH_COMPONENT_SOURCE_CONST_H */
+#endif /* BABELTRACE2_GRAPH_COMPONENT_SOURCE_CONST_H */
This page took 0.023849 seconds and 4 git commands to generate.