summaryrefslogtreecommitdiff
path: root/common/mbed/xprintf.h
diff options
context:
space:
mode:
authortmk <nobody@nowhere>2014-06-17 22:41:14 +0900
committertmk <nobody@nowhere>2014-07-30 14:07:43 +0900
commite81c70149ecf73256f8bb7d77cefc07f2b91d2be (patch)
treed918595b92aa099537640cd02285f914b343bd67 /common/mbed/xprintf.h
parentee70fe59ee8ebc6dcbf55171b1a2dd72e1744ae6 (diff)
Fix common files for mbed
Diffstat (limited to 'common/mbed/xprintf.h')
-rw-r--r--common/mbed/xprintf.h17
1 files changed, 17 insertions, 0 deletions
diff --git a/common/mbed/xprintf.h b/common/mbed/xprintf.h
new file mode 100644
index 0000000000..26bc529e5b
--- /dev/null
+++ b/common/mbed/xprintf.h
@@ -0,0 +1,17 @@
+#ifndef XPRINTF_H
+#define XPRINTF_H
+
+//#define xprintf(format, ...) __xprintf(format, ##__VA_ARGS__)
+
+#ifdef __cplusplus
+extern "C" {
+#endif
+
+int xprintf(const char *format, ...);
+
+#ifdef __cplusplus
+}
+#endif
+
+
+#endif