]> pd.if.org Git - pdclib.old/blobdiff - functions/_PDCLIB/_PDCLIB_closeall.c
PDCLIB-1 locale functions only included <_PDCLIB_locale.h>, not <locale.h>. This...
[pdclib.old] / functions / _PDCLIB / _PDCLIB_closeall.c
index 5086d0d64bb09305245cc10692cc2a291978b8a7..30cdb9e1b12c4d36fd37b855eeb94e463bbd3c54 100644 (file)
@@ -9,12 +9,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;