]> pd.if.org Git - pdclib/blobdiff - functions/stdio/putc.c
Fixes #45.
[pdclib] / functions / stdio / putc.c
index 3d6e4bb0ca7a6dbd77ac7a41013287280a510869..60a4dba9294c296dd92fafd5c73f9d8a40ae0704 100644 (file)
@@ -1,6 +1,6 @@
 /* $Id$ */
 
-/* putc( int )
+/* putc( int, FILE * )
 
    This file is part of the Public Domain C Library (PDCLib).
    Permission is granted to use, modify, and / or redistribute at will.
@@ -10,7 +10,7 @@
 
 #ifndef REGTEST
 
-int putc( int c, FILE * stream )
+int putc( int c, struct _PDCLIB_file_t * stream )
 {
     return fputc( c, stream );
 }
@@ -22,7 +22,7 @@ int putc( int c, FILE * stream )
 
 int main( void )
 {
-    TESTCASE( NO_TESTDRIVER );
+    /* Testing covered by ftell.c */
     return TEST_RESULTS;
 }