mirror of
https://gitlab.rtems.org/rtems/rtos/rtems.git
synced 2025-12-05 23:23:13 +00:00
rtems-debugger-cmd.c: Address missing field initializer warnings (shell)
Address missing field initializer warnings. These were 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:
@@ -215,13 +215,13 @@ static int rtems_shell_main_debugger(int argc, char *argv[])
|
|||||||
}
|
}
|
||||||
|
|
||||||
rtems_shell_cmd_t rtems_shell_DEBUGGER_Command = {
|
rtems_shell_cmd_t rtems_shell_DEBUGGER_Command = {
|
||||||
"debugger", /* name */
|
.name = "debugger",
|
||||||
"debugger [start/stop] [options ...]", /* usage */
|
.usage = "debugger [start/stop] [options ...]",
|
||||||
"misc", /* topic */
|
.topic = "misc",
|
||||||
rtems_shell_main_debugger, /* command */
|
.command = rtems_shell_main_debugger,
|
||||||
NULL, /* alias */
|
.alias = NULL,
|
||||||
NULL, /* next */
|
.next = NULL,
|
||||||
0755,
|
.mode = 0755,
|
||||||
0,
|
.uid = 0,
|
||||||
0
|
.gid = 0
|
||||||
};
|
};
|
||||||
|
|||||||
Reference in New Issue
Block a user