mirror of https://github.com/ARMmbed/mbed-os.git
Name of exit function in exit.c
Change the name of the exit function to _exit as suggested in clib documenation for all gcc_arm toolchains (GCC_ARM and CoIDE)pull/711/head
parent
ab3fb54a15
commit
f37a45d3b5
|
@ -22,6 +22,8 @@
|
|||
#ifdef TOOLCHAIN_GCC_CW
|
||||
// TODO: Ideally, we would like to define directly "_ExitProcess"
|
||||
void mbed_exit(int return_code) {
|
||||
#elif defined TOOLCHAIN_GCC_ARM
|
||||
void _exit(int return_code) {
|
||||
#else
|
||||
void exit(int return_code) {
|
||||
#endif
|
||||
|
|
Loading…
Reference in New Issue