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

random: 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 1e1ab38b
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -3,6 +3,7 @@
if (CONFIG_ENTROPY_DEVICE_RANDOM_GENERATOR OR
    CONFIG_TIMER_RANDOM_GENERATOR OR
    CONFIG_XOSHIRO_RANDOM_GENERATOR)
zephyr_syscall_header(${ZEPHYR_BASE}/include/zephyr/random/rand32.h)
zephyr_library()
zephyr_library_sources_ifdef(CONFIG_USERSPACE           rand32_handlers.c)
endif()