]> pd.if.org Git - pdclib/blobdiff - functions/_PDCLIB/prepwrite.c
Whitespace cleanups.
[pdclib] / functions / _PDCLIB / prepwrite.c
index fa46e46aa8e37a4e1a6bd99ca0d9a131db0eff9d..dcdc970be8da45fe383e585c7c2fdff0f42dddee 100644 (file)
@@ -6,6 +6,8 @@
 
 #include <stdio.h>
 
+#ifndef REGTEST
+
 int _PDCLIB_prepwrite( struct _PDCLIB_file_t * stream )
 {
     if ( ( stream->bufidx < stream->bufend ) || ( stream->ungetidx > 0 ) ||
@@ -24,7 +26,10 @@ int _PDCLIB_prepwrite( struct _PDCLIB_file_t * stream )
     return 0;
 }
 
+#endif
+
 #ifdef TEST
+
 #include "_PDCLIB_test.h"
 
 int main( void )
@@ -34,4 +39,3 @@ int main( void )
 }
 
 #endif
-