Skip to content

Commit

Permalink
logging: syscalls: use zephyr_syscall_header
Browse files Browse the repository at this point in the history
This adds a few line use zephyr_syscall_header() to include
headers containing syscall function prototypes.

Signed-off-by: Daniel Leung <daniel.leung@intel.com>
  • Loading branch information
dcpleung authored and nashif committed Jun 17, 2023
1 parent b93ccd2 commit 057ceb1
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions subsys/logging/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
# SPDX-License-Identifier: Apache-2.0

zephyr_syscall_header(
${ZEPHYR_BASE}/include/zephyr/logging/log_msg.h
${ZEPHYR_BASE}/include/zephyr/logging/log_ctrl.h
)

if(NOT CONFIG_LOG_MODE_MINIMAL)
zephyr_sources_ifdef(
CONFIG_LOG
Expand Down

0 comments on commit 057ceb1

Please sign in to comment.