Commit 1d4d718a authored by Daniel Leung's avatar Daniel Leung Committed by Anas Nashif
Browse files

lib: syscalls: use zephyr_syscall_header



This adds a few line use zephyr_syscall_header() to include
headers containing syscall function prototypes.

Signed-off-by: default avatarDaniel Leung <daniel.leung@intel.com>
parent e734911c
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
# SPDX-License-Identifier: Apache-2.0

zephyr_syscall_header(
  ${ZEPHYR_BASE}/include/zephyr/sys/libc-hooks.h
)

add_subdirectory_ifdef(CONFIG_ARCMWDT_LIBC      arcmwdt)
add_subdirectory_ifdef(CONFIG_ARMCLANG_STD_LIBC armstdc)
add_subdirectory_ifdef(CONFIG_MINIMAL_LIBC      minimal)
+4 −0
Original line number Diff line number Diff line
# SPDX-License-Identifier: Apache-2.0

zephyr_syscall_header(
  ${ZEPHYR_BASE}/include/zephyr/sys/mutex.h
)

zephyr_sources_ifdef(CONFIG_BASE64 base64.c)

zephyr_sources(
+3 −0
Original line number Diff line number Diff line
# SPDX-License-Identifier: Apache-2.0

zephyr_syscall_header(
  ${ZEPHYR_BASE}/include/zephyr/posix/time.h
)

zephyr_interface_library_named(posix_subsys)