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