X-Git-Url: http://git.efficios.com/?a=blobdiff_plain;f=cli%2Fbabeltrace-cfg.c;h=f4d836ae2858bfbb98538d8a83f31988b5d84101;hb=05e2128659970c32648a01255ed870449f05d518;hp=d96fd5cee7470ba0aff1c267ca5ab03d278d005d;hpb=398454ed067b95215c7affbe265fd36edab931ee;p=babeltrace.git diff --git a/cli/babeltrace-cfg.c b/cli/babeltrace-cfg.c index d96fd5ce..f4d836ae 100644 --- a/cli/babeltrace-cfg.c +++ b/cli/babeltrace-cfg.c @@ -23,8 +23,7 @@ */ #include -#include -#include +#include #include #include "babeltrace-cfg.h" @@ -39,7 +38,7 @@ void destroy_gstring(void *data) * and appends them to the array value object plugin_paths. */ int bt_config_append_plugin_paths( - struct bt_private_value *plugin_paths, const char *arg) + struct bt_value *plugin_paths, const char *arg) { int ret = 0; GPtrArray *dirs = g_ptr_array_new_with_free_func(destroy_gstring); @@ -59,7 +58,7 @@ int bt_config_append_plugin_paths( for (i = 0; i < dirs->len; i++) { GString *dir = g_ptr_array_index(dirs, i); - ret = bt_private_value_array_append_string_element( + ret = bt_value_array_append_string_element( plugin_paths, dir->str); if (ret != BT_VALUE_STATUS_OK) { ret = -1;