X-Git-Url: https://review.openocd.org/gitweb?p=openocd.git;a=blobdiff_plain;f=src%2Fhelper%2Flog.c;h=90653c41d47ed7db0ca67a26c61f0fe1c630b220;hp=f9807747b5f4f780743e2d871f9ace0022b2cb18;hb=6949b5393d9fb6511ddef13ce0bef1a147e7f962;hpb=92c50fda2bbe0061d26a420332ba625bc780cdc4 diff --git a/src/helper/log.c b/src/helper/log.c index f9807747b5..90653c41d4 100644 --- a/src/helper/log.c +++ b/src/helper/log.c @@ -236,7 +236,7 @@ COMMAND_HANDLER(handle_log_output_command) return ERROR_OK; } -static struct command_registration log_command_handlers[] = { +static const struct command_registration log_command_handlers[] = { { .name = "log_output", .handler = handle_log_output_command,