]> pd.if.org Git - pdclib/blobdiff - platform/example/functions/_PDCLIB/rename.c
System includes -> local includes.
[pdclib] / platform / example / functions / _PDCLIB / rename.c
index 23f56d81fb8e2e8dfbc94e2dc9959d3fbba1288f..6ce45811b0dd7fdd97d4d440c42ef83c73d84ff0 100644 (file)
@@ -7,7 +7,7 @@
 #include <stdio.h>
 
 #ifndef REGTEST
-#include <_PDCLIB_glue.h>
+#include "_PDCLIB_glue.h"
 
 #include </usr/include/errno.h>
 
@@ -90,12 +90,13 @@ int _PDCLIB_rename( const char * old, const char * new )
 #endif
 
 #ifdef TEST
-#include <_PDCLIB_test.h>
+#include "_PDCLIB_test.h"
 
 #include <stdlib.h>
 
 int main( void )
 {
+#ifndef REGTEST
     FILE * file;
     remove( testfile1 );
     remove( testfile2 );
@@ -131,6 +132,7 @@ int main( void )
     /* remove both files */
     remove( testfile1 );
     remove( testfile2 );
+#endif
     return TEST_RESULTS;
 }