Commit 0155c6f8 authored by Yong Cong Sin's avatar Yong Cong Sin Committed by Anas Nashif
Browse files

lib/libc: minimal: remove deprecated headers



This headers have been deprecated for > 2 releases,
remove them.

Signed-off-by: default avatarYong Cong Sin <ycsin@meta.com>
parent c2e0c435
Loading
Loading
Loading
Loading

lib/libc/minimal/include/fcntl.h

deleted100644 → 0
+0 −16
Original line number Original line Diff line number Diff line
/*
 * Copyright (c) 2022 Meta
 *
 * SPDX-License-Identifier: Apache-2.0
 */

#ifndef ZEPHYR_LIB_LIBC_MINIMAL_INCLUDE_FCNTL_H_
#define ZEPHYR_LIB_LIBC_MINIMAL_INCLUDE_FCNTL_H_

#ifndef CONFIG_POSIX_API
#pragma message("#include <fcntl.h> without CONFIG_POSIX_API is deprecated. "                      \
		"Please use CONFIG_POSIX_API or #include <zephyr/posix/fcntl.h>")
#endif
#include <zephyr/posix/fcntl.h>

#endif /* ZEPHYR_LIB_LIBC_MINIMAL_INCLUDE_SYS_FCNTL_H_ */
+0 −16
Original line number Original line Diff line number Diff line
/*
 * Copyright (c) 2022 Meta
 *
 * SPDX-License-Identifier: Apache-2.0
 */

#ifndef ZEPHYR_LIB_LIBC_MINIMAL_INCLUDE_SYS_STAT_H_
#define ZEPHYR_LIB_LIBC_MINIMAL_INCLUDE_SYS_STAT_H_

#ifndef CONFIG_POSIX_API
#pragma message("#include <sys/stat.h> without CONFIG_POSIX_API is deprecated. "                   \
		"Please use CONFIG_POSIX_API or #include <zephyr/posix/sys/stat.h>")
#endif
#include <zephyr/posix/sys/stat.h>

#endif /* ZEPHYR_LIB_LIBC_MINIMAL_INCLUDE_SYS_STAT_H_ */