Hide bt_component_sink_consume
authorJérémie Galarneau <jeremie.galarneau@efficios.com>
Sat, 18 Feb 2017 18:17:48 +0000 (13:17 -0500)
committerJérémie Galarneau <jeremie.galarneau@efficios.com>
Sun, 28 May 2017 16:57:38 +0000 (12:57 -0400)
Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
include/babeltrace/component/component-sink-internal.h
include/babeltrace/component/component-sink.h
lib/component/sink.c

index 81833e66406820d8a9e3d8eb875f618cd8367945..b7cb7a386f416458ca96d060357b40af59e5c886 100644 (file)
@@ -62,4 +62,14 @@ BT_HIDDEN
 enum bt_component_status bt_component_sink_validate(
                struct bt_component *component);
 
+/**
+ * Process one event, consuming from sources as needed.
+ *
+ * @param component    Component instance
+ * @returns            One of #bt_component_status values
+ */
+BT_HIDDEN
+enum bt_component_status bt_component_sink_consume(
+               struct bt_component *component);
+
 #endif /* BABELTRACE_COMPONENT_SINK_INTERNAL_H */
index 659bce5b1be9f25a1ffbf54528183aa931297ebd..ff79c09edd3ca0f14f9191462378ea33ef6ef2fd 100644 (file)
@@ -36,16 +36,6 @@ extern "C" {
 struct bt_component;
 struct bt_notification;
 
-/**
- * Process one event, consuming from sources as needed.
- *
- * @param component    Component instance
- * @returns            One of #bt_component_status values
- */
-extern
-enum bt_component_status bt_component_sink_consume(
-               struct bt_component *component);
-
 extern int bt_component_sink_get_input_port_count(
                struct bt_component *component);
 extern struct bt_port *bt_component_sink_get_input_port(
index 43f5680740a45edd7e37cd31971191df5366d574..e6c890c650547e29104bdab084410e46c762e8b2 100644 (file)
@@ -105,6 +105,7 @@ error:
        return NULL;
 }
 
+BT_HIDDEN
 enum bt_component_status bt_component_sink_consume(
                struct bt_component *component)
 {
This page took 0.025466 seconds and 4 git commands to generate.