X-Git-Url: https://pd.if.org/git/?p=pdclib;a=blobdiff_plain;f=functions%2F_PDCLIB%2F_PDCLIB_closeall.c;h=5f62ca183a095465c9777452c8b42f4d34c096ac;hp=5086d0d64bb09305245cc10692cc2a291978b8a7;hb=da0f3f353d417fed71f358a48d5d5394145e460d;hpb=3082b97d8f2de1584430ad42671a0e056ed33be4 diff --git a/functions/_PDCLIB/_PDCLIB_closeall.c b/functions/_PDCLIB/_PDCLIB_closeall.c index 5086d0d..5f62ca1 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; @@ -25,7 +24,7 @@ void _PDCLIB_closeall( void ) #endif #ifdef TEST -#include <_PDCLIB_test.h> +#include "_PDCLIB_test.h" int main( void ) {