mbed library sources

Dependents:   Nucleo_blink_led

Fork of mbed-src by mbed official

Files at this revision

API Documentation at this revision

Comitter:
emilmont
Date:
Sat Feb 23 15:48:17 2013 +0000
Parent:
2:143cac498751
Child:
4:c4bfb462ca53
Commit message:
[GCC toolchains] declare "__semihost" as "static inline"

Changed in this revision

capi/semihost_api.h Show annotated file Show diff for this revision Revisions of this file
--- a/capi/semihost_api.h	Mon Feb 18 11:44:18 2013 +0000
+++ b/capi/semihost_api.h	Sat Feb 23 15:48:17 2013 +0000
@@ -43,7 +43,7 @@
 #   define AngelSWIAsm          swi
 #endif
 
-inline int __semihost(int reason, const void *arg) {
+static inline int __semihost(int reason, const void *arg) {
     int value;
 
     asm volatile (