Skip to content

Commit 47ae226

Browse files
tokangasanangl
authored andcommitted
samples: cellular: modem_shell: Remove obsolete flagging
CONFIG_NET_SOCKETS_POSIX_NAMES has been deprecated and removed from Zephyr, so modem_shell requires CONFIG_POSIX to be enabled. Removed flagging which was related to CONFIG_NET_SOCKETS_POSIX_NAMES. Signed-off-by: Tommi Kangas <[email protected]>
1 parent 966864b commit 47ae226

File tree

2 files changed

+0
-8
lines changed

2 files changed

+0
-8
lines changed

samples/cellular/modem_shell/src/sock/sock.c

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,15 +7,11 @@
77
#include <zephyr/shell/shell.h>
88
#include <assert.h>
99
#include <stdio.h>
10-
#if defined(CONFIG_POSIX_API)
1110
#include <unistd.h>
1211
#include <netdb.h>
1312
#include <poll.h>
1413
#include <sys/socket.h>
1514
#include <zephyr/sys/fdtable.h>
16-
#else
17-
#include <zephyr/net/socket.h>
18-
#endif
1915
#include <zephyr/net/tls_credentials.h>
2016
#include <fcntl.h>
2117
#include <nrf_socket.h>

samples/cellular/modem_shell/src/sock/sock_shell.c

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,14 +7,10 @@
77
#include <zephyr/shell/shell.h>
88
#include <assert.h>
99
#include <stdio.h>
10-
#if defined(CONFIG_POSIX_API)
1110
#include <unistd.h>
1211
#include <netdb.h>
1312
#include <poll.h>
1413
#include <sys/socket.h>
15-
#else
16-
#include <zephyr/net/socket.h>
17-
#endif
1814
#include <zephyr/net/tls_credentials.h>
1915
#include <fcntl.h>
2016
#include <getopt.h>

0 commit comments

Comments
 (0)