]> pd.if.org Git - pdclib/blobdiff - functions/string/strcat.c
Fixed multiple inclusion issue.
[pdclib] / functions / string / strcat.c
index d1135756069099dad2a478e9a55a19f65951750b..e76b7db6fb34ee2033faba74e936058ffcfeb79f 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 * strcat( char * _PDCLIB_restrict s1, const char * _PDCLIB_restrict s2 )
 {
@@ -21,6 +23,8 @@ char * strcat( char * _PDCLIB_restrict s1, const char * _PDCLIB_restrict s2 )
     return rc;
 }
 
+#endif
+
 #ifdef TEST
 #include <_PDCLIB_test.h>