zephyr/subsys/shell
Jakob Olesen 71260d88d5 shell: Initialize va_list variables portably.
The structure of the va_list type is architecture-dependent, and it
doesn't seem possible to initialize va_list variables in a portable way
(except by using va_start()). In particular, the x86_64 ABI defines the
type like this:

    typedef struct {
        unsigned int gp_offset;
        unsigned int fp_offset;
        void *overflow_arg_area;
        void *reg_save_area;
    } va_list[1];

Fortunately, the va_start() macro expects an uninitialized va_list
variable, so we can simply remove the initializers to make the code
portable.

Signed-off-by: Jakob Olesen <jolesen@fb.com>
2019-06-07 12:08:35 +02:00
..
modules license: cleanup: add SPDX Apache-2.0 license identifier 2019-04-07 08:45:22 -04:00
CMakeLists.txt license: cleanup: add SPDX Apache-2.0 license identifier 2019-04-07 08:45:22 -04:00
Kconfig shell: Refactor shell_history to use less RW memory 2019-05-30 09:44:03 -04:00
Kconfig.backends shell: prompt configuration during project generation 2019-04-30 10:40:04 -04:00
Kconfig.template.shell_log_queue_size license: cleanup: add SPDX Apache-2.0 license identifier 2019-04-07 08:45:22 -04:00
Kconfig.template.shell_log_queue_timeout license: cleanup: add SPDX Apache-2.0 license identifier 2019-04-07 08:45:22 -04:00
shell.c shell: Initialize va_list variables portably. 2019-06-07 12:08:35 +02:00
shell_cmds.c shell: add select command 2019-05-24 11:04:42 +02:00
shell_dummy.c shell: prompt configuration during project generation 2019-04-30 10:40:04 -04:00
shell_fprintf.c subsystems: Rename reserved function names 2019-04-03 17:31:00 -04:00
shell_help.c shell: add select command 2019-05-24 11:04:42 +02:00
shell_help.h
shell_history.c shell: Refactor shell_history to use less RW memory 2019-05-30 09:44:03 -04:00
shell_log_backend.c
shell_ops.c shell: Initialize va_list variables portably. 2019-06-07 12:08:35 +02:00
shell_ops.h shell: allow commands to suspend shell thread 2019-02-14 13:40:28 +01:00
shell_rtt.c shell: prompt configuration during project generation 2019-04-30 10:40:04 -04:00
shell_telnet.c shell: prompt configuration during project generation 2019-04-30 10:40:04 -04:00
shell_telnet_protocol.h shell: Add TELNET backend 2019-04-01 10:26:13 -04:00
shell_uart.c shell: Fix shell uart not waking up shell on mcumgr data 2019-06-04 14:00:17 +02:00
shell_utils.c style: add braces around if/while statements 2019-06-06 15:20:21 +02:00
shell_utils.h shell: add select command 2019-05-24 11:04:42 +02:00
shell_vt100.h shell: add select command 2019-05-24 11:04:42 +02:00
shell_wildcard.c shell: allow commands to suspend shell thread 2019-02-14 13:40:28 +01:00
shell_wildcard.h