]> pd.if.org Git - pdclib.old/blobdiff - functions/_PDCLIB/closeall.c
* Test cleanups: surround the code for all functions by #ifndef REGTEST
[pdclib.old] / functions / _PDCLIB / closeall.c
index 3523f8c0fe5013f34f625abbd0146ff9627e25df..5086d0d64bb09305245cc10692cc2a291978b8a7 100644 (file)
@@ -8,6 +8,7 @@
 
 #include <stdio.h>
 
+#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;
 }