mirror of
https://gitlab.rtems.org/rtems/rtos/rtems.git
synced 2026-09-21 11:08:59 +08:00
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:
@@ -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
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user