From 62480d1a8ba5660a8325d426f34c13c1b6afcc7f Mon Sep 17 00:00:00 2001 From: Xiang Xiao Date: Mon, 3 Jul 2023 00:19:22 +0800 Subject: [PATCH] boardctl: Add const to struct boardioc_symtab_s::symtab Signed-off-by: Xiang Xiao --- include/sys/boardctl.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/sys/boardctl.h b/include/sys/boardctl.h index 6616975491..6fd41b209f 100644 --- a/include/sys/boardctl.h +++ b/include/sys/boardctl.h @@ -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; };