| 150 | void (*PlatformSpecificFClose)(PlatformSpecificFile file) = C2000FClose; |
| 151 | |
| 152 | static int CL2000Putchar(int c) |
| 153 | { |
| 154 | #if USE_BUFFER_OUTPUT |
| 155 | if(idx < BUFFER_SIZE) { |
| 156 | buffer[idx] = (char) c; |
| 157 | idx++; |
| 158 | /* "buffer[idx]" instead of "c" eliminates "never used" warning */ |
| 159 | return (buffer[idx]); |
| 160 | } |
| 161 | else { |
| 162 | return EOF; |
| 163 | } |
| 164 | #else |
| 165 | return putchar(c); |
| 166 | #endif |
| 167 | } |
| 168 | |
| 169 | static void CL2000Flush() |
| 170 | { |
nothing calls this directly
no outgoing calls
no test coverage detected