X-Git-Url: https://pd.if.org/git/?a=blobdiff_plain;f=functions%2F_PDCLIB%2F_PDCLIB_closeall.c;h=78bff0b9795f3be9bcfa1de794409a9ca629e801;hb=e1c526e9bad3f6e69391e94059096145390508d3;hp=5086d0d64bb09305245cc10692cc2a291978b8a7;hpb=3082b97d8f2de1584430ad42671a0e056ed33be4;p=pdclib diff --git a/functions/_PDCLIB/_PDCLIB_closeall.c b/functions/_PDCLIB/_PDCLIB_closeall.c index 5086d0d..78bff0b 100644 --- a/functions/_PDCLIB/_PDCLIB_closeall.c +++ b/functions/_PDCLIB/_PDCLIB_closeall.c @@ -1,5 +1,3 @@ -/* $Id$ */ - /* _PDCLIB_closeall( void ) This file is part of the Public Domain C Library (PDCLib). @@ -9,12 +7,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;