redefine many vars as "static"

See patch #10156
This commit is contained in:
Florian La Roche
2021-12-07 02:57:02 +01:00
committed by Simon Goldschmidt
parent 5ab46f82f9
commit 62ac0faad8
7 changed files with 28 additions and 28 deletions

View File

@@ -160,7 +160,7 @@ static struct stats_proto* shell_stat_proto_stats[] = {
&lwip_stats.tcp,
#endif
};
const size_t num_protostats = sizeof(shell_stat_proto_stats)/sizeof(struct stats_proto*);
static const size_t num_protostats = sizeof(shell_stat_proto_stats)/sizeof(struct stats_proto*);
static const char *stat_msgs_proto[] = {
" * transmitted ",