boardctl: Add const to struct boardioc_symtab_s::symtab

Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
This commit is contained in:
Xiang Xiao 2023-07-03 00:19:22 +08:00 committed by Alan Carvalho de Assis
parent 935f43185f
commit 62480d1a8b

View File

@ -287,7 +287,7 @@ struct boardioc_romdisk_s
struct symtab_s; /* Forward reference */
struct boardioc_symtab_s
{
FAR struct symtab_s *symtab;
FAR const struct symtab_s *symtab;
int nsymbols;
};