Fix: lib: conflicting types for `bt_plugin_set_get_plugin_count`
authorPhilippe Proulx <eeppeliteloop@gmail.com>
Wed, 10 Jul 2019 05:31:15 +0000 (01:31 -0400)
committerPhilippe Proulx <eeppeliteloop@gmail.com>
Wed, 10 Jul 2019 15:25:15 +0000 (11:25 -0400)
Signed-off-by: Philippe Proulx <eeppeliteloop@gmail.com>
Change-Id: I8324668d820bf8139a54df66bfa1a81312c5da3c
Reviewed-on: https://review.lttng.org/c/babeltrace/+/1668
Tested-by: jenkins <jenkins@lttng.org>
src/lib/plugin/plugin.c

index 06dd96837ead16a71055a5b8a3e84ec3afec11f5..911f7bcf9a67d11b790826ffa44d4db05798d469 100644 (file)
@@ -143,7 +143,7 @@ void fini_python_plugin_provider(void) {
 }
 #endif
 
-uint64_t bt_plugin_set_get_plugin_count(struct bt_plugin_set *plugin_set)
+uint64_t bt_plugin_set_get_plugin_count(const struct bt_plugin_set *plugin_set)
 {
        BT_ASSERT_PRE_DEV_NON_NULL(plugin_set, "Plugin set");
        return (uint64_t) plugin_set->plugins->len;
This page took 0.02561 seconds and 4 git commands to generate.