zephyr/include/toolchain
Inaky Perez-Gonzalez 7bc28cf388 syscalls: REVERTME: clean up warnings when building unit tests
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>
2017-11-15 19:09:12 -05:00
..
common.h syscalls: REVERTME: clean up warnings when building unit tests 2017-11-15 19:09:12 -05:00
gcc.h kernel: make 'static inline' implicit to __syscall 2017-09-29 15:09:44 -07:00
xcc.h xcc: fix __in_section_unique() and __COUNTER__ 2017-08-16 10:59:10 -07:00