update for HEAD-2003021201
[reactos.git] / lib / crtdll / stdio / rename.c
index 14eb401..9baaf8e 100644 (file)
@@ -1,16 +1,15 @@
 #include <windows.h>
-#include <crtdll/stdio.h>
-#include <crtdll/io.h> 
+#include <msvcrt/stdio.h>
+#include <msvcrt/io.h> 
 
 
 int rename(const char *old_, const char *new_)
 {
        if ( old_ == NULL || new_ == NULL )
                return -1;
+
        if ( !MoveFileA(old_,new_) )
                return -1;
 
        return 0;
 }
-
-