#ifndef REGTEST
-long int ftell_unlocked( struct _PDCLIB_file_t * stream )
+long int ftell_unlocked( FILE * stream )
{
uint_fast64_t off64 = _PDCLIB_ftell64_unlocked( stream );
return off64;
}
-long int ftell( struct _PDCLIB_file_t * stream )
+long int ftell( FILE * stream )
{
flockfile( stream );
long int off = ftell_unlocked( stream );
#ifdef TEST
#include <_PDCLIB_test.h>
-
#include <stdlib.h>
+#ifndef REGTEST
+#include <_PDCLIB_io.h>
+#endif
int main( void )
{