]> pd.if.org Git - pdclib/blobdiff - platform/example/functions/_PDCLIB/rename.c
Joined 32 and 64 bit configurations, made platform linking unnecessary.
[pdclib] / platform / example / functions / _PDCLIB / rename.c
index a37eeb3464ed74a22d30a4ee4fbd7280479b1a8c..08f08742a2f40c2e2bc63972a397dbb425f984a9 100644 (file)
@@ -1,5 +1,3 @@
-/* $Id$ */
-
 /* _PDCLIB_rename( const char *, const char * )
 
    This file is part of the Public Domain C Library (PDCLib).
@@ -98,6 +96,7 @@ int _PDCLIB_rename( const char * old, const char * new )
 
 int main( void )
 {
+#ifndef REGTEST
     FILE * file;
     remove( testfile1 );
     remove( testfile2 );
@@ -133,6 +132,7 @@ int main( void )
     /* remove both files */
     remove( testfile1 );
     remove( testfile2 );
+#endif
     return TEST_RESULTS;
 }