Skip to content

Commit ac3efe7

Browse files
cfriedtstephanosio
authored andcommitted
net: sockets: socketpair: header fixups
* include `<zephyr/posix/fcntl.h>` instead of `<fcntl.h>` * drop unused logging header and module declaration * reorder headers alphabetically Signed-off-by: Chris Friedt <[email protected]>
1 parent db08c51 commit ac3efe7

File tree

1 file changed

+1
-6
lines changed

1 file changed

+1
-6
lines changed

subsys/net/lib/sockets/socketpair.c

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -4,14 +4,9 @@
44
* SPDX-License-Identifier: Apache-2.0
55
*/
66

7-
#include <fcntl.h>
8-
9-
/* Zephyr headers */
10-
#include <zephyr/logging/log.h>
11-
LOG_MODULE_REGISTER(net_spair, CONFIG_NET_SOCKETS_LOG_LEVEL);
12-
137
#include <zephyr/kernel.h>
148
#include <zephyr/net/socket.h>
9+
#include <zephyr/posix/fcntl.h>
1510
#include <zephyr/syscall_handler.h>
1611
#include <zephyr/sys/__assert.h>
1712
#include <zephyr/sys/fdtable.h>

0 commit comments

Comments
 (0)