Make some bt_param_validation_map_value_entry_descr variables static
[babeltrace.git] / src / plugins / lttng-utils / debug-info / debug-info.c
index 7a57704201b9017062497d525818c16e8decdeed..c98cf604175bd31fdce288f170ee614460ec24cd 100644 (file)
@@ -31,6 +31,8 @@
 #define BT_LOG_TAG "PLUGIN/FLT.LTTNG-UTILS.DEBUG-INFO"
 #include "logging/comp-logging.h"
 
+#include <stdbool.h>
+
 #include <glib.h>
 
 #include "common/assert.h"
@@ -856,6 +858,7 @@ end:
        return;
 }
 
+static
 void trace_debug_info_remove_func(const bt_trace *in_trace, void *data)
 {
        struct debug_info_msg_iter *debug_it = data;
@@ -1694,13 +1697,14 @@ const bt_message *handle_message(struct debug_info_msg_iter *debug_it,
                out_message = handle_discarded_packets_message(debug_it, in_message);
                break;
        default:
-               abort();
+               bt_common_abort();
                break;
        }
 
        return out_message;
 }
 
+static
 struct bt_param_validation_map_value_entry_descr debug_info_params[] = {
        { "debug-info-field-name", BT_PARAM_VALIDATION_MAP_VALUE_ENTRY_OPTIONAL, { .type = BT_VALUE_TYPE_STRING } },
        { "debug-info-dir", BT_PARAM_VALIDATION_MAP_VALUE_ENTRY_OPTIONAL, { .type = BT_VALUE_TYPE_STRING } },
This page took 0.022967 seconds and 4 git commands to generate.