mbed library sources

Fork of mbed-src by mbed official

Revision:
228:85a676113daa
Parent:
140:ca60b7a31055
Child:
250:a49055e7a707
--- a/common/error.c	Wed Jun 11 16:00:09 2014 +0100
+++ b/common/error.c	Thu Jun 12 10:15:07 2014 +0100
@@ -17,11 +17,11 @@
 #include <stdarg.h>
 #include "device.h"
 #include "toolchain.h"
+#include "error.h"
 #if DEVICE_STDIO_MESSAGES
 #include <stdio.h>
 #endif
 
-WEAK void error(const char* format, ...);
 WEAK void error(const char* format, ...) {
 #if DEVICE_STDIO_MESSAGES
     va_list arg;