X-Git-Url: https://pd.if.org/git/?a=blobdiff_plain;f=functions%2F_PDCLIB%2Fcloseall.c;h=6c2bed4f1ba0f4e5b23944fc14b722e761942228;hb=2040228f27d623585d339dec175c4e779ca9edb5;hp=3523f8c0fe5013f34f625abbd0146ff9627e25df;hpb=29510491be6e3e0b95872920c371024ed444c1e5;p=pdclib diff --git a/functions/_PDCLIB/closeall.c b/functions/_PDCLIB/closeall.c index 3523f8c..6c2bed4 100644 --- a/functions/_PDCLIB/closeall.c +++ b/functions/_PDCLIB/closeall.c @@ -1,5 +1,3 @@ -/* $Id$ */ - /* _PDCLIB_closeall( void ) This file is part of the Public Domain C Library (PDCLib). @@ -8,6 +6,8 @@ #include +#ifndef REGTEST + extern struct _PDCLIB_file_t * _PDCLIB_filelist; void _PDCLIB_closeall( void ) @@ -22,12 +22,14 @@ void _PDCLIB_closeall( void ) } } +#endif + #ifdef TEST -#include <_PDCLIB_test.h> +#include "_PDCLIB_test.h" int main( void ) { - TESTCASE( NO_TESTDRIVER ); + /* No testdriver */ return TEST_RESULTS; }