]> pd.if.org Git - pdclib/blobdiff - functions/string/strncat.c
Added #ifdef to allow regression against system lib.
[pdclib] / functions / string / strncat.c
index 7fdaa2670eff250cba6bc045723320d844667f71..57200489c97530d58e00901b6c22eca50f1b0b69 100644 (file)
@@ -11,6 +11,8 @@
 #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 +31,8 @@ char * strncat( char * _PDCLIB_restrict s1, const char * _PDCLIB_restrict s2, si
     return rc;
 }
 
+#endif
+
 #ifdef TEST
 #include <_PDCLIB_test.h>