trace-chunk: clean-up: mark close command properties as static const
[lttng-tools.git] / src / common / trace-chunk.c
index 29977cabb1ae48e7ab015e717dc38173fcfd93d8..fb4d1672490d49b889e98646ecee7bc6bcea788a 100644 (file)
@@ -104,11 +104,13 @@ struct lttng_trace_chunk_registry {
        struct cds_lfht *ht;
 };
 
-const char *close_command_names[] = {
+static const
+char *close_command_names[] = {
        [LTTNG_TRACE_CHUNK_COMMAND_TYPE_MOVE_TO_COMPLETED] =
                "move to completed chunk folder",
 };
 
+static const
 chunk_close_command close_command_funcs[] = {
        [LTTNG_TRACE_CHUNK_COMMAND_TYPE_MOVE_TO_COMPLETED] =
                        lttng_trace_chunk_move_to_completed,
This page took 0.023908 seconds and 5 git commands to generate.