]> pd.if.org Git - pdclib.old/blobdiff - functions/stdio/putchar.c
PDCLIB-18: Unify fgetc under _PDCLIB_getchars. Also unify gets under _PDCLIB_getchars...
[pdclib.old] / functions / stdio / putchar.c
index 7ef20147bf1701563794d3077a71f4d695cfbd88..52063a57f713036c09a84a1e659ba2956f4a12fb 100644 (file)
@@ -1,7 +1,5 @@
 /* $Id$ */
 
-/* Release $Name$ */
-
 /* putchar( int )
 
    This file is part of the Public Domain C Library (PDCLib).
 
 #ifndef REGTEST
 
+int putchar_unlocked( int c )
+{
+    return fputc_unlocked( c, stdout );
+}
+
 int putchar( int c )
 {
     return fputc( c, stdout );
@@ -24,7 +27,7 @@ int putchar( int c )
 
 int main( void )
 {
-    TESTCASE( NO_TESTDRIVER );
+    /* Testing covered by ftell.c */
     return TEST_RESULTS;
 }