X-Git-Url: https://pd.if.org/git/?a=blobdiff_plain;f=functions%2F_PDCLIB%2Fcloseall.c;h=5086d0d64bb09305245cc10692cc2a291978b8a7;hb=4c6186630711f087c4d08f9d1b192a646c6c930d;hp=3523f8c0fe5013f34f625abbd0146ff9627e25df;hpb=65b97c0d355f87ddec19e391518cc7ecc849badc;p=pdclib.old diff --git a/functions/_PDCLIB/closeall.c b/functions/_PDCLIB/closeall.c index 3523f8c..5086d0d 100644 --- a/functions/_PDCLIB/closeall.c +++ b/functions/_PDCLIB/closeall.c @@ -8,6 +8,7 @@ #include +#ifndef REGTEST extern struct _PDCLIB_file_t * _PDCLIB_filelist; void _PDCLIB_closeall( void ) @@ -21,13 +22,14 @@ void _PDCLIB_closeall( void ) stream = next; } } +#endif #ifdef TEST #include <_PDCLIB_test.h> int main( void ) { - TESTCASE( NO_TESTDRIVER ); + /* No testdriver */ return TEST_RESULTS; }