X-Git-Url: https://review.openocd.org/gitweb?p=openocd.git;a=blobdiff_plain;f=src%2Fjtag%2Fadapter.c;h=2f5f6b436262a657590dfdc10514224654eed64f;hp=494d39e9a65dbaec33c32af484e6e49efbb3f3c6;hb=cc99e57b0e8ed3672afce1925142863cceb809f2;hpb=08d4411b59dd8bd0e7d8009003b71d23acbf6eee diff --git a/src/jtag/adapter.c b/src/jtag/adapter.c index 494d39e9a6..2f5f6b4362 100644 --- a/src/jtag/adapter.c +++ b/src/jtag/adapter.c @@ -48,7 +48,7 @@ */ extern struct jtag_interface *jtag_interface; -const char *jtag_only[] = { "jtag", NULL }; +const char * const jtag_only[] = { "jtag", NULL }; static int jim_adapter_name(Jim_Interp *interp, int argc, Jim_Obj * const *argv) {