zephyr/subsys/shell
Jukka Rissanen e158c1729a shell: mqtt: Avoid using POSIX function names
This commit fixes this error seen in CI so that things
work even if CONFIG_POSIX_API is enabled.

subsys/shell/backends/shell_mqtt.c:727:12: error:
  conflicting types for 'write'; have
 'int(const struct shell_transport *, const void *, size_t,  size_t *)'
  727 | static int write(const struct shell_transport *transport,
                         const void *data, size_t length)

include/zephyr/posix/unistd.h:230:9: note: previous declaration
 of 'write' with type
 'ssize_t(int,  const void *, size_t)'
  230 | ssize_t write(int file, const void *buffer, size_t count);

subsys/shell/backends/shell_mqtt.c:787:12: error:
 conflicting types for 'read'; have
 'int(const struct shell_transport *, void *, size_t,  size_t *)'
  787 | static int read(const struct shell_transport *transport,
                        void *data, size_t length, size_t *cnt)

include/zephyr/posix/unistd.h:231:9: note: previous declaration
 of 'read' with type
 'ssize_t(int,  void *, size_t)'
  231 | ssize_t read(int file, void *buffer, size_t count);

Signed-off-by: Jukka Rissanen <jukka.rissanen@nordicsemi.no>
2024-03-27 13:40:13 -05:00
..
backends shell: mqtt: Avoid using POSIX function names 2024-03-27 13:40:13 -05:00
modules arch: move arch_interface.h under zephyr/arch 2024-03-25 09:58:35 +00:00
CMakeLists.txt
Kconfig kconfig: shell: fix incorrect shell stack size for Thread 2024-03-08 10:21:20 +00:00
Kconfig.template.shell_log_queue_size
Kconfig.template.shell_log_queue_timeout
shell_cmds.c shell: fix shell instance name typo 2023-12-05 10:44:56 -05:00
shell_fprintf.c
shell_help.c shell: Add a space after colon 2024-01-05 14:43:21 -05:00
shell_help.h
shell_history.c
shell_log_backend.c shell: fix a memory corruption coverity issue 2023-10-13 13:11:28 +03:00
shell_ops.c
shell_ops.h shell: Fix shell init procedure when configured as inactive on startup 2024-01-21 16:01:36 +01:00
shell_utils.c shell: correct z_shell_spaces_trim when len equal to zero 2023-12-12 15:02:58 +01:00
shell_utils.h
shell_vt100.h
shell_wildcard.c
shell_wildcard.h
shell.c shell: fix shell_stop command 2024-03-04 14:08:04 +01:00