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: HelloWorld_CCA01M1 HelloWorld_CCA02M1 CI-data-logger-server HelloWorld_CCA02M1 ... more
This is a fork of the events subdirectory of https://github.com/ARMmbed/mbed-os.
Note, you must import this library with import name: events!!!
Diff: hal/common/retarget.cpp
- Revision:
- 6396:723dcc4c67dd
- Parent:
- 6387:1e339dc397e1
- Child:
- 6546:b7f6a8e13048
diff -r 2bbeeb1f0269 -r 723dcc4c67dd hal/common/retarget.cpp
--- a/hal/common/retarget.cpp Sun Jun 12 22:03:07 2016 +0100
+++ b/hal/common/retarget.cpp Mon Jun 13 15:00:42 2016 +0100
@@ -646,22 +646,22 @@
extern "C" WEAK void __rtos_env_lock( struct _reent *_r ) {}
extern "C" WEAK void __rtos_env_unlock( struct _reent *_r ) {}
-void __malloc_lock( struct _reent *_r )
+extern "C" void __malloc_lock( struct _reent *_r )
{
__rtos_malloc_lock(_r);
}
-void __malloc_unlock( struct _reent *_r )
+extern "C" void __malloc_unlock( struct _reent *_r )
{
__rtos_malloc_unlock(_r);
}
-void __env_lock( struct _reent *_r )
+extern "C" void __env_lock( struct _reent *_r )
{
__rtos_env_lock(_r);
}
-void __env_unlock( struct _reent *_r )
+extern "C" void __env_unlock( struct _reent *_r )
{
__rtos_env_unlock(_r);
}