X-Git-Url: https://pd.if.org/git/?a=blobdiff_plain;f=functions%2F_PDCLIB%2Fcloseall.c;h=3c928e747322eb44e018a68003e86c555b533e35;hb=d865c4403fc91d1f1ac95ba76febcee9f429bb97;hp=0bc4278784b8a64089bdcca090cb76e63ee329b5;hpb=d6f1494a4f38a212b29a13ee713885058dcf0fe7;p=pdclib diff --git a/functions/_PDCLIB/closeall.c b/functions/_PDCLIB/closeall.c index 0bc4278..3c928e7 100644 --- a/functions/_PDCLIB/closeall.c +++ b/functions/_PDCLIB/closeall.c @@ -6,6 +6,8 @@ #include +#ifndef REGTEST + extern struct _PDCLIB_file_t * _PDCLIB_filelist; void _PDCLIB_closeall( void ) @@ -20,7 +22,10 @@ void _PDCLIB_closeall( void ) } } +#endif + #ifdef TEST + #include "_PDCLIB_test.h" int main( void ) @@ -30,4 +35,3 @@ int main( void ) } #endif -