Small fixes to include/
[babeltrace.git] / include / babeltrace / graph / self-component.h
index 3461eace7af5433e84ab6c2cb5b4a1d4ad5cce88..65ff2e67de9853d0f3ec567e9ff41c2c310fa64b 100644 (file)
 extern "C" {
 #endif
 
-enum bt_self_component_status {
+typedef enum bt_self_component_status {
        BT_SELF_COMPONENT_STATUS_OK = 0,
        BT_SELF_COMPONENT_STATUS_END = 1,
        BT_SELF_COMPONENT_STATUS_AGAIN = 11,
        BT_SELF_COMPONENT_STATUS_REFUSE_PORT_CONNECTION = 111,
        BT_SELF_COMPONENT_STATUS_ERROR = -1,
        BT_SELF_COMPONENT_STATUS_NOMEM = -12,
-};
+} bt_self_component_status;
 
 static inline
 const bt_component *bt_self_component_as_component(
@@ -47,10 +47,10 @@ const bt_component *bt_self_component_as_component(
 }
 
 extern void *bt_self_component_get_data(
-               const bt_self_component *private_component);
+               const bt_self_component *self_component);
 
 extern void bt_self_component_set_data(
-               bt_self_component *private_component, void *data);
+               bt_self_component *self_component, void *data);
 
 #ifdef __cplusplus
 }
This page took 0.031231 seconds and 4 git commands to generate.