mirror of
https://github.com/zephyrproject-rtos/zephyr
synced 2025-09-02 00:42:22 +00:00
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> |
||
---|---|---|
.. | ||
modules | ||
CMakeLists.txt | ||
Kconfig | ||
Kconfig.backends | ||
Kconfig.template.shell_log_queue_size | ||
Kconfig.template.shell_log_queue_timeout | ||
shell_cmds.c | ||
shell_dummy.c | ||
shell_fprintf.c | ||
shell_help.c | ||
shell_help.h | ||
shell_history.c | ||
shell_log_backend.c | ||
shell_ops.c | ||
shell_ops.h | ||
shell_rtt.c | ||
shell_telnet_protocol.h | ||
shell_telnet.c | ||
shell_uart.c | ||
shell_utils.c | ||
shell_utils.h | ||
shell_vt100.h | ||
shell_wildcard.c | ||
shell_wildcard.h | ||
shell.c |