Skip to content

Commit ea8f76d

Browse files
committed
lib: os: do not include posix sys/types.h header
There is no need to pull in a POSIX header file into these files, so remove it. Signed-off-by: Chris Friedt <cfriedt@tenstorrent.com>
1 parent 77731d4 commit ea8f76d

File tree

2 files changed

+0
-2
lines changed

2 files changed

+0
-2
lines changed

lib/os/cbprintf_complete.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,6 @@
1515
#include <stdint.h>
1616
#include <string.h>
1717
#include <zephyr/toolchain.h>
18-
#include <sys/types.h>
1918
#include <zephyr/sys/util.h>
2019
#include <zephyr/sys/cbprintf.h>
2120

lib/os/printk.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,6 @@
2222
#include <zephyr/logging/log.h>
2323
#include <zephyr/sys/cbprintf.h>
2424
#include <zephyr/llext/symbol.h>
25-
#include <sys/types.h>
2625

2726
/* Option present only when CONFIG_USERSPACE enabled. */
2827
#ifndef CONFIG_PRINTK_BUFFER_SIZE

0 commit comments

Comments
 (0)