Make some bt_param_validation_map_value_entry_descr variables static
[babeltrace.git] / src / plugins / text / pretty / pretty.c
index 8cb3b472239e8211318a259da717c90fd1c76617..b05622bda44880572121c26c09d3e8851c24d052 100644 (file)
@@ -296,6 +296,7 @@ end:
 static const char *color_choices[] = { "never", "auto", "always", NULL };
 static const char *show_hide_choices[] = { "show", "hide", NULL };
 
+static
 struct bt_param_validation_map_value_entry_descr pretty_params[] = {
        { "color", BT_PARAM_VALIDATION_MAP_VALUE_ENTRY_OPTIONAL, { BT_VALUE_TYPE_STRING, .string = {
                .choices = color_choices,
@@ -519,6 +520,7 @@ bt_component_class_initialize_method_status apply_params(
        apply_one_bool_if_specified("field-callsite", params,
                &pretty->options.print_callsite_field);
 
+       pretty_print_init();
        status = BT_COMPONENT_CLASS_INITIALIZE_METHOD_STATUS_OK;
 
 end:
This page took 0.022892 seconds and 4 git commands to generate.