From 3f79b5cf8ff9accf03300b03c396f6fb6da674aa Mon Sep 17 00:00:00 2001 From: Philippe Proulx Date: Thu, 28 Feb 2019 21:16:29 -0500 Subject: [PATCH] Fix: lib: `_const_const` -> `_const` Signed-off-by: Philippe Proulx --- include/babeltrace/plugin/plugin-const.h | 2 +- lib/plugin/plugin.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/include/babeltrace/plugin/plugin-const.h b/include/babeltrace/plugin/plugin-const.h index 1c6c49f1..0f33fb31 100644 --- a/include/babeltrace/plugin/plugin-const.h +++ b/include/babeltrace/plugin/plugin-const.h @@ -77,7 +77,7 @@ extern uint64_t bt_plugin_get_sink_component_class_count( const bt_plugin *plugin); extern const bt_component_class_source * -bt_plugin_borrow_source_component_class_by_index_const_const( +bt_plugin_borrow_source_component_class_by_index_const( const bt_plugin *plugin, uint64_t index); extern const bt_component_class_filter * diff --git a/lib/plugin/plugin.c b/lib/plugin/plugin.c index ce13d01b..7f00d69c 100644 --- a/lib/plugin/plugin.c +++ b/lib/plugin/plugin.c @@ -538,7 +538,7 @@ struct bt_component_class *borrow_component_class_by_index( } const struct bt_component_class_source * -bt_plugin_borrow_source_component_class_by_index_const_const( +bt_plugin_borrow_source_component_class_by_index_const( const struct bt_plugin *plugin, uint64_t index) { return (const void *) borrow_component_class_by_index(plugin, -- 2.34.1