Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependents: Encrypted my_mbed lklk CyaSSL_DTLS_Cellular ... more
Diff: common/exit.c
- Revision:
- 415:271884f87da0
- Parent:
- 158:3121b9889f7b
--- a/common/exit.c Tue Nov 25 07:15:09 2014 +0000
+++ b/common/exit.c Tue Nov 25 07:30:07 2014 +0000
@@ -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

