]> pd.if.org Git - pdclib/blobdiff - functions/stdio/putchar.c
Removed SVN keyword tags.
[pdclib] / functions / stdio / putchar.c
index e5a3500fa5c756d12a713f93f18a8cdd0ccb8d1c..ca184f750bec3552f72d21f3966a93032ef8029d 100644 (file)
@@ -1,5 +1,3 @@
-/* $Id$ */
-
 /* putchar( int )
 
    This file is part of the Public Domain C Library (PDCLib).
@@ -9,6 +7,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 +26,7 @@ int putchar( int c )
 
 int main( void )
 {
-    TESTCASE( NO_TESTDRIVER );
+    /* Testing covered by ftell.c */
     return TEST_RESULTS;
 }