]> pd.if.org Git - pdclib.old/blobdiff - functions/stdio/fputs.c
Minimize the amount of internal definitions which get exposed via the user-visible...
[pdclib.old] / functions / stdio / fputs.c
index 0b1e3256f3d32153d88e7e18270b3ad942590fb5..0f92aaa7d1beaf64cec2931d4557ca949ef48a4b 100644 (file)
@@ -9,10 +9,10 @@
 #include <stdio.h>
 
 #ifndef REGTEST
-#include <_PDCLIB_glue.h>
+#include <_PDCLIB_io.h>
 
 int fputs_unlocked( const char * _PDCLIB_restrict s, 
-                    struct _PDCLIB_file_t * _PDCLIB_restrict stream )
+                    FILE * _PDCLIB_restrict stream )
 {
     if ( _PDCLIB_prepwrite( stream ) == EOF )
     {
@@ -47,7 +47,7 @@ int fputs_unlocked( const char * _PDCLIB_restrict s,
 }
 
 int fputs( const char * _PDCLIB_restrict s,
-           struct _PDCLIB_file_t * _PDCLIB_restrict stream )
+           FILE * _PDCLIB_restrict stream )
 {
     flockfile( stream );
     int r = fputs_unlocked( s, stream );