Skip to content

Commit 9f0ce75

Browse files
aescolarfabiobaltieri
authored andcommitted
drivers: disk: loopback: Remove unnecessary include
This file does not seem to need unistd.h, and that header is a POSIX extension to the C library which is not avaiable in general. So let's not include it. Without this change this file fails to build with minimal libc or other C libraries which do not have this extra header. Signed-off-by: Alberto Escolar Piedras <[email protected]>
1 parent 307c08b commit 9f0ce75

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

drivers/disk/loopback_disk.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@
44
* SPDX-License-Identifier: Apache-2.0
55
*/
66

7-
#include <sys/unistd.h>
87
#include <zephyr/drivers/disk.h>
98
#include <zephyr/fs/fs.h>
109
#include <zephyr/fs/fs_interface.h>

0 commit comments

Comments
 (0)