X-Git-Url: https://pd.if.org/git/?p=pdclib.old;a=blobdiff_plain;f=functions%2Fstdio%2Frename.c;h=0ae5c6a62cfe5ebff97d9e47555c037431438674;hp=987b78a5906cb6f1b259468953beac60f2ff126c;hb=0e35e82c5e9a0804864839e8fc0e985b1ae41f07;hpb=4fe88a1c445105a96d08b808831d6fc7480a211d 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 ) )