cpukit/.../shell: Address missing field initializer warnings

Address missing field initializer warnings.

These were all rtems_shell_cmd_t or rtems_shell_alias_t declarations
with initialization.  The initialization was changed to using named
fields.

Updates #5325.
This commit is contained in:
Joel Sherrill
2025-10-14 14:23:59 -05:00
parent 6269686dfb
commit f519633d0d
56 changed files with 351 additions and 341 deletions
+6 -6
View File
@@ -57,10 +57,10 @@ static int rtems_shell_main_stackuse(
}
rtems_shell_cmd_t rtems_shell_STACKUSE_Command = {
"stackuse", /* name */
"print per thread stack usage", /* usage */
"rtems", /* topic */
rtems_shell_main_stackuse, /* command */
NULL, /* alias */
NULL /* next */
.name = "stackuse",
.usage = "print per thread stack usage",
.topic = "rtems",
.command = rtems_shell_main_stackuse,
.alias = NULL,
.next = NULL
};