X-Git-Url: https://pd.if.org/git/?p=pdclib;a=blobdiff_plain;f=functions%2F_PDCLIB%2Fprepwrite.c;h=a901ccdaed39f10e4674ad727696c49c1341016e;hp=fa46e46aa8e37a4e1a6bd99ca0d9a131db0eff9d;hb=2040228f27d623585d339dec175c4e779ca9edb5;hpb=3ffa88d3e16e7564ff81bf3650b5afa113caac97 diff --git a/functions/_PDCLIB/prepwrite.c b/functions/_PDCLIB/prepwrite.c index fa46e46..a901ccd 100644 --- a/functions/_PDCLIB/prepwrite.c +++ b/functions/_PDCLIB/prepwrite.c @@ -6,6 +6,8 @@ #include +#ifndef REGTEST + int _PDCLIB_prepwrite( struct _PDCLIB_file_t * stream ) { if ( ( stream->bufidx < stream->bufend ) || ( stream->ungetidx > 0 ) || @@ -24,6 +26,8 @@ int _PDCLIB_prepwrite( struct _PDCLIB_file_t * stream ) return 0; } +#endif + #ifdef TEST #include "_PDCLIB_test.h"