mirror of
https://github.com/Dasharo/zephyr.git
synced 2026-03-06 14:57:20 -08:00
This is a temporary hack until #5006 is resolved (possibly using https://github.com/zephyrproject-rtos/zephyr/issues/5006 Unit testing (BOARD == unit_testing) doesn't need the system call definitions. Because we foward declare with __syscall them as "static inline" (from common.h), the compilers will complain that the definition is missing. Change to only define __syscall as "static inline" if we are not builing a unit test to avoid said warnings. Signed-off-by: Inaky Perez-Gonzalez <inaky.perez-gonzalez@intel.com>