#ifdef __cplusplus extern "C" { #endif ......... int __putchar (int c); ......... #ifdef __cplusplus } #endif