]> pd.if.org Git - pdclib/blobdiff - functions/stdio/rename.c
Removed SVN keyword tags.
[pdclib] / functions / stdio / rename.c
index 987b78a5906cb6f1b259468953beac60f2ff126c..ba4a75dfd20a3462d71a050e403a73d360e16c06 100644 (file)
@@ -1,5 +1,3 @@
-/* $Id$ */
-
 /* rename( const char *, const char * )
 
    This file is part of the Public Domain C Library (PDCLib).
 
 #include <string.h>
 
-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 ) )