diff options
author | Luke T. Shumaker <lukeshu@lukeshu.com> | 2025-02-12 21:37:34 -0700 |
---|---|---|
committer | Luke T. Shumaker <lukeshu@lukeshu.com> | 2025-02-13 12:02:46 -0700 |
commit | b17aeb2f120be00e6f218aeb2c3da07d49df939a (patch) | |
tree | b5399a510c70c44d808ee830e5f27df36660ca9e /lib9p/9p.generated.c | |
parent | 4ba0b95dc825a83748b7cb2aa528411026d5bada (diff) |
Start linting against global variables
Diffstat (limited to 'lib9p/9p.generated.c')
-rw-r--r-- | lib9p/9p.generated.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib9p/9p.generated.c b/lib9p/9p.generated.c index eca0666..fe042e6 100644 --- a/lib9p/9p.generated.c +++ b/lib9p/9p.generated.c @@ -48,7 +48,7 @@ /* strings ********************************************************************/ -const char *_lib9p_table_ver_name[LIB9P_VER_NUM] = { +const char *const _lib9p_table_ver_name[LIB9P_VER_NUM] = { [LIB9P_VER_unknown] = "unknown", #if CONFIG_9P_ENABLE_9P2000 [LIB9P_VER_9P2000] = "9P2000", @@ -68,7 +68,7 @@ const char *_lib9p_table_ver_name[LIB9P_VER_NUM] = { }; #define _MSG_NAME(typ) [LIB9P_TYP_##typ] = #typ -const char * _lib9p_table_msg_name[LIB9P_VER_NUM][0x100] = { +const char *const _lib9p_table_msg_name[LIB9P_VER_NUM][0x100] = { [LIB9P_VER_unknown] = { _MSG_NAME(Tversion), _MSG_NAME(Rversion), |