From e4b7cc023bdeeee43f092baaf1693296fa5ed6b1 Mon Sep 17 00:00:00 2001 From: =?utf8?q?J=C3=A9r=C3=A9mie=20Galarneau?= Date: Thu, 25 Feb 2016 12:26:26 -0500 Subject: [PATCH] Clarify bt_component_destroy_cb semantics MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Signed-off-by: Jérémie Galarneau --- include/babeltrace/plugin/plugin-system.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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. -- 2.34.1