X-Git-Url: https://pd.if.org/git/?a=blobdiff_plain;f=functions%2F_PDCLIB%2Fcloseall.c;h=5086d0d64bb09305245cc10692cc2a291978b8a7;hb=9a77499d5947c498be4f3981b87eff510602d0f9;hp=3523f8c0fe5013f34f625abbd0146ff9627e25df;hpb=29510491be6e3e0b95872920c371024ed444c1e5;p=pdclib 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; }