mirror of
https://gitlab.rtems.org/rtems/rtos/rtems.git
synced 2025-11-16 12:34:45 +00:00
testsuites/samples/fileio: Address missing field initializer warnings
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:
@@ -1223,17 +1223,17 @@ static int main_usercmd(int argc, char **argv)
|
||||
}
|
||||
|
||||
static rtems_shell_cmd_t Shell_USERCMD_Command = {
|
||||
"usercmd", /* name */
|
||||
"usercmd n1 [n2 [n3...]] # echo arguments", /* usage */
|
||||
"user", /* topic */
|
||||
main_usercmd, /* command */
|
||||
NULL, /* alias */
|
||||
NULL /* next */
|
||||
.name = "usercmd",
|
||||
.usage = "usercmd n1 [n2 [n3...]] # echo arguments",
|
||||
.topic = "user",
|
||||
.command = main_usercmd,
|
||||
.alias = NULL,
|
||||
.next = NULL
|
||||
};
|
||||
|
||||
static rtems_shell_alias_t Shell_USERECHO_Alias = {
|
||||
"usercmd", /* command */
|
||||
"userecho" /* alias */
|
||||
.name = "usercmd",
|
||||
.alias = "userecho"
|
||||
};
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user