]> pd.if.org Git - pdclib/blobdiff - functions/stdio/_PDCLIB_fillbuffer.c
PDCLib includes with quotes, not <>.
[pdclib] / functions / stdio / _PDCLIB_fillbuffer.c
index dfdfe262510d858043e23bfb3a30505271bbb2f0..146edf0716539acc958a7b6a29101a9b2fd4e568 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
@@ -7,9 +7,10 @@
 #include <stdio.h>\r
 \r
 #ifndef REGTEST\r
-#include <_PDCLIB_glue.h>\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
@@ -33,7 +34,7 @@ int _PDCLIB_fillbuffer( struct _PDCLIB_file_t * stream )
 #endif\r
 \r
 #ifdef TEST\r
-#include <_PDCLIB_test.h>\r
+#include "_PDCLIB_test.h"\r
 \r
 int main( void )\r
 {\r