]> pd.if.org Git - pdclib/blobdiff - functions/string/strcpy.c
Fixed multiple inclusion issue.
[pdclib] / functions / string / strcpy.c
index 49204da54ba27d679de4fe6679daf1cb806131db..c0ca9f039d520ff8991116673dd7a4874026a234 100644 (file)
@@ -8,7 +8,9 @@
    Permission is granted to use, modify, and / or redistribute at will.
 */
 
-#include <_PDCLIB_aux.h>
+#include <string.h>
+
+#ifndef REGTEST
 
 char * strcpy( char * _PDCLIB_restrict s1, const char * _PDCLIB_restrict s2 )
 {
@@ -17,6 +19,8 @@ char * strcpy( char * _PDCLIB_restrict s1, const char * _PDCLIB_restrict s2 )
     return rc;
 }
 
+#endif
+
 #ifdef TEST
 #include <_PDCLIB_test.h>