diff options
author | Benjamin Walsh <walsh.benj@gmail.com> | 2016-10-13 10:31:48 -0400 |
---|---|---|
committer | Benjamin Walsh <benjamin.walsh@windriver.com> | 2016-10-14 20:49:36 +0000 |
commit | b4b108de4d2586cf86601dfe40988c79fae67c54 (patch) | |
tree | a606b842769bbd74a4148e8c8a0d98ebe5213b11 /arch | |
parent | 3751123fa9e75206639e7e0229b71e34f6c583ae (diff) |
unified: rename sched.h to ksched.h
Build breaks when enabling CONFIG_NEWLIB_LIBC because it has its own
sched.h file.
This is a bad symptom of a greater issue: the build system passes many
'-I<path>' options to the compiler, and that allows including header
files by simply specifying their names (when located somewhere else than
<zephyr>/include/) and can cause clashes when several files in different
locations have the same name, like in this case.
Fixes ZEP-1062.
Change-Id: I81d1d69ee6669a609cd0c420b1b8f870d17dcb67
Signed-off-by: Benjamin Walsh <benjamin.walsh@windriver.com>
Diffstat (limited to 'arch')
-rw-r--r-- | arch/arm/core/thread_abort.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/core/thread_abort.c b/arch/arm/core/thread_abort.c index 6f41c91d3..9fe8314ca 100644 --- a/arch/arm/core/thread_abort.c +++ b/arch/arm/core/thread_abort.c @@ -30,7 +30,7 @@ #include <nano_private.h> #include <toolchain.h> #include <sections.h> -#include <sched.h> +#include <ksched.h> #include <wait_q.h> extern void _k_thread_single_abort(struct tcs *thread); |