]> pd.if.org Git - pdclib.old/blobdiff - functions/stdio/putchar.c
Namespace cleanliness: Rename all ***_unlocked functions to _PDCLIB_***_unlocked.
[pdclib.old] / functions / stdio / putchar.c
index e5a3500fa5c756d12a713f93f18a8cdd0ccb8d1c..a79932f9e4f402ff444150c2054a59dcc2e5c378 100644 (file)
@@ -9,6 +9,12 @@
 #include <stdio.h>
 
 #ifndef REGTEST
+#include <_PDCLIB_io.h>
+
+int _PDCLIB_putchar_unlocked( int c )
+{
+    return _PDCLIB_fputc_unlocked( c, stdout );
+}
 
 int putchar( int c )
 {
@@ -22,7 +28,7 @@ int putchar( int c )
 
 int main( void )
 {
-    TESTCASE( NO_TESTDRIVER );
+    /* Testing covered by ftell.c */
     return TEST_RESULTS;
 }