case DW_LONG:\r
lp = buff;\r
do /* Hexdecimal dump */\r
- xprintf(" %08LX", *lp++);\r
+ xprintf(" %08X", *lp++);\r
while (--len);\r
break;\r
}\r
#define _USE_XFUNC_OUT 1 /* 1: Use output functions */\r
#define _CR_CRLF 1 /* 1: Convert \n ==> \r\n in the output char */\r
\r
+#ifdef __cplusplus\r
+extern "C" {\r
+#endif\r
+\r
void xputc (char c);\r
void xputs (const char* str);\r
void xfputs (void (*func)(unsigned char), const char* str);\r
#define DW_SHORT sizeof(short)\r
#define DW_LONG sizeof(long)\r
\r
+#ifdef __cplusplus\r
+}\r
+#endif\r
+\r
#endif\r