]> pd.if.org Git - pdclib.old/blobdiff - functions/_PDCLIB/_PDCLIB_closeall.c
Minimize the amount of internal definitions which get exposed via the user-visible...
[pdclib.old] / functions / _PDCLIB / _PDCLIB_closeall.c
index 5086d0d64bb09305245cc10692cc2a291978b8a7..bc6b417f88871cb0eeb4c16dae0f58c898419a65 100644 (file)
@@ -7,14 +7,15 @@
 */
 
 #include <stdio.h>
+#include <_PDCLIB_io.h>
 
 #ifndef REGTEST
-extern struct _PDCLIB_file_t * _PDCLIB_filelist;
+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;