To be able to define main() in C++ code we need to have its prototype defined somewhere visibly. Otherwise name mangling will prevent the linker from finding it. Zephyr assumes a void main(void) prototype and therefore this will be the prototype after renaming: void zephyr_app_main(void); Signed-off-by: Alberto Escolar Piedras <alpi@oticon.com> |
||
|---|---|---|
| .. | ||
| asm_inline_gcc.h | ||
| asm_inline.h | ||
| kernel_arch_data.h | ||
| kernel_arch_func.h | ||
| offsets_short_arch.h | ||
| posix_arch_internal.h | ||
| posix_cheats.h | ||
| posix_core.h | ||