]> pd.if.org Git - pdclib/blobdiff - functions/_PDCLIB/_PDCLIB_closeall.c
PDCLib includes with quotes, not <>.
[pdclib] / functions / _PDCLIB / _PDCLIB_closeall.c
index 5086d0d64bb09305245cc10692cc2a291978b8a7..5f62ca183a095465c9777452c8b42f4d34c096ac 100644 (file)
@@ -1,5 +1,3 @@
-/* $Id$ */
-
 /* _PDCLIB_closeall( void )
 
    This file is part of the Public Domain C Library (PDCLib).
@@ -9,12 +7,13 @@
 #include <stdio.h>
 
 #ifndef REGTEST
-extern struct _PDCLIB_file_t * _PDCLIB_filelist;
+#include "_PDCLIB_io.h"
+extern _PDCLIB_file_t * _PDCLIB_filelist;
 
 void _PDCLIB_closeall( void )
 {
-    struct _PDCLIB_file_t * stream = _PDCLIB_filelist;
-    struct _PDCLIB_file_t * next;
+    _PDCLIB_file_t * stream = _PDCLIB_filelist;
+    _PDCLIB_file_t * next;
     while ( stream != NULL )
     {
         next = stream->next;
@@ -25,7 +24,7 @@ void _PDCLIB_closeall( void )
 #endif
 
 #ifdef TEST
-#include <_PDCLIB_test.h>
+#include "_PDCLIB_test.h"
 
 int main( void )
 {