Make some bt_param_validation_map_value_entry_descr variables static
[babeltrace.git] / src / plugins / utils / counter / counter.c
index 18ec60559eaae09285ad058dac44890f45b3cde4..9fe62a349096b603732eccf40fbc53161ca14b40 100644 (file)
@@ -30,6 +30,7 @@
 #include "common/common.h"
 #include "common/assert.h"
 #include <inttypes.h>
+#include <stdbool.h>
 #include <stdint.h>
 #include "plugins/common/param-validation/param-validation.h"
 
@@ -113,6 +114,7 @@ void try_print_last(struct counter *counter)
        }
 }
 
+static
 void destroy_private_counter_data(struct counter *counter)
 {
        if (counter) {
@@ -136,6 +138,7 @@ void counter_finalize(bt_self_component_sink *comp)
        g_free(counter);
 }
 
+static
 struct bt_param_validation_map_value_entry_descr counter_params[] = {
        { "step", BT_PARAM_VALIDATION_MAP_VALUE_ENTRY_OPTIONAL, { .type = BT_VALUE_TYPE_UNSIGNED_INTEGER } },
        { "hide-zero", BT_PARAM_VALIDATION_MAP_VALUE_ENTRY_OPTIONAL, { .type = BT_VALUE_TYPE_BOOL } },
This page took 0.025546 seconds and 4 git commands to generate.