X-Git-Url: https://pd.if.org/git/?a=blobdiff_plain;f=functions%2Fstdio%2Frename.c;h=0ae5c6a62cfe5ebff97d9e47555c037431438674;hb=3309ec3ad8a5db735eaa2de7f5dc6a331d8e7319;hp=987b78a5906cb6f1b259468953beac60f2ff126c;hpb=4fa9051e2e7b88116c5557321a119e1072227487;p=pdclib.old diff --git a/functions/stdio/rename.c b/functions/stdio/rename.c index 987b78a..0ae5c6a 100644 --- a/functions/stdio/rename.c +++ b/functions/stdio/rename.c @@ -13,11 +13,11 @@ #include -extern struct _PDCLIB_file_t * _PDCLIB_filelist; +extern _PDCLIB_file_t * _PDCLIB_filelist; int rename( const char * old, const char * new ) { - struct _PDCLIB_file_t * current = _PDCLIB_filelist; + FILE * current = _PDCLIB_filelist; while ( current != NULL ) { if ( ( current->filename != NULL ) && ( strcmp( current->filename, old ) == 0 ) )