]> pd.if.org Git - pdclib.old/blobdiff - functions/stdio/_PDCLIB_fillbuffer.c
Minimize the amount of internal definitions which get exposed via the user-visible...
[pdclib.old] / functions / stdio / _PDCLIB_fillbuffer.c
index dfdfe262510d858043e23bfb3a30505271bbb2f0..70df158e32fa20e18d1363736674285547e99718 100644 (file)
@@ -1,4 +1,4 @@
-/* _PDCLIB_fillbuffer( struct _PDCLIB_file_t * stream )\r
+/* _PDCLIB_fillbuffer( FILE * stream )\r
 \r
    This file is part of the Public Domain C Library (PDCLib).\r
    Permission is granted to use, modify, and / or redistribute at will.\r
@@ -8,8 +8,9 @@
 \r
 #ifndef REGTEST\r
 #include <_PDCLIB_glue.h>\r
+#include <_PDCLIB_io.h>\r
 \r
-int _PDCLIB_fillbuffer( struct _PDCLIB_file_t * stream )\r
+int _PDCLIB_fillbuffer( FILE * stream )\r
 {\r
     size_t bytesRead;\r
     bool ok = stream->ops->read( stream->handle, stream->buffer, stream->bufsize,\r