X-Git-Url: https://pd.if.org/git/?a=blobdiff_plain;f=functions%2F_PDCLIB%2F_PDCLIB_closeall.c;h=30cdb9e1b12c4d36fd37b855eeb94e463bbd3c54;hb=6e6c4e6b52f2516e4bb6b9f37c1e2e18cb7448b5;hp=5086d0d64bb09305245cc10692cc2a291978b8a7;hpb=3082b97d8f2de1584430ad42671a0e056ed33be4;p=pdclib diff --git a/functions/_PDCLIB/_PDCLIB_closeall.c b/functions/_PDCLIB/_PDCLIB_closeall.c index 5086d0d..30cdb9e 100644 --- a/functions/_PDCLIB/_PDCLIB_closeall.c +++ b/functions/_PDCLIB/_PDCLIB_closeall.c @@ -9,12 +9,13 @@ #include #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;