diff mbox series

[BlueZ] tools/mesh-cfgclient: constify

Message ID 20250505124346.6621-4-ceggers@arri.de
State New
Headers show
Series [BlueZ] tools/mesh-cfgclient: constify | expand

Commit Message

Christian Eggers May 5, 2025, 12:43 p.m. UTC
---
 tools/mesh/cfgcli.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff mbox series

Patch

diff --git a/tools/mesh/cfgcli.c b/tools/mesh/cfgcli.c
index fb6fa666d2db..8801070ec41e 100644
--- a/tools/mesh/cfgcli.c
+++ b/tools/mesh/cfgcli.c
@@ -66,7 +66,7 @@  static uint32_t rsp_timeout = DEFAULT_TIMEOUT;
 static uint16_t target = UNASSIGNED_ADDRESS;
 static uint32_t parms[8];
 
-static struct cfg_cmd cmds[] = {
+static const struct cfg_cmd cmds[] = {
 	{ OP_APPKEY_ADD, OP_APPKEY_STATUS, "AppKeyAdd" },
 	{ OP_APPKEY_DELETE, OP_APPKEY_STATUS, "AppKeyDelete" },
 	{ OP_APPKEY_GET, OP_APPKEY_LIST, "AppKeyGet" },