From: Jérémie Galarneau Date: Thu, 25 Feb 2016 17:26:26 +0000 (-0500) Subject: Clarify bt_component_destroy_cb semantics X-Git-Url: http://drtracing.org/?a=commitdiff_plain;h=e4b7cc023bdeeee43f092baaf1693296fa5ed6b1;p=deliverable%2Fbabeltrace.git Clarify bt_component_destroy_cb semantics Signed-off-by: Jérémie Galarneau --- diff --git a/include/babeltrace/plugin/plugin-system.h b/include/babeltrace/plugin/plugin-system.h index d3fe33290..618e3eca3 100644 --- a/include/babeltrace/plugin/plugin-system.h +++ b/include/babeltrace/plugin/plugin-system.h @@ -49,9 +49,9 @@ typedef void (*bt_plugin_exit_func)(void); /** * Component private data deallocation function type. * - * @param component Component instance + * @param data Component private data */ -typedef void (*bt_component_destroy_cb)(struct bt_component *component); +typedef void (*bt_component_destroy_cb)(void *data); /** * Component initialization function type.