lib: add aliases for Babeltrace structure types
[babeltrace.git] / include / babeltrace / graph / self-component-class-sink.h
index 1ccd615ad079e4b0b2e6c2f132fdceda04b80da5..8f40385e4d76378a3e54e74f3d2f65717a784b98 100644 (file)
  * SOFTWARE.
  */
 
+/* For bt_component_class_sink, bt_self_component_class_sink */
+#include <babeltrace/types.h>
+
 #ifdef __cplusplus
 extern "C" {
 #endif
 
-struct bt_component_class_sink;
-struct bt_self_component_class_sink;
-
 static inline
-const struct bt_component_class_sink *
+const bt_component_class_sink *
 bt_self_component_class_sink_as_component_class_sink(
-               struct bt_self_component_class_sink *self_comp_cls_sink)
+               bt_self_component_class_sink *self_comp_cls_sink)
 {
        return (const void *) self_comp_cls_sink;
 }
This page took 0.02385 seconds and 4 git commands to generate.