X-Git-Url: https://pd.if.org/git/?a=blobdiff_plain;f=functions%2Fstring%2Fstrncpy.c;h=ea88d3f8a6648d41fca4fc341625c3bcb503496c;hb=d18abec50882ca919a52ffc54b2b5c8703cb2864;hp=31602ec8a9fef4709ce87b2904c821fb6256d2f4;hpb=f66fc2a4fc1b45e0aa357f2dd0e45ddd1b7c9142;p=pdclib.old diff --git a/functions/string/strncpy.c b/functions/string/strncpy.c index 31602ec..ea88d3f 100644 --- a/functions/string/strncpy.c +++ b/functions/string/strncpy.c @@ -11,6 +11,8 @@ #include <_PDCLIB_aux.h> #include +#ifndef REGTEST + char * strncpy( char * _PDCLIB_restrict s1, const char * _PDCLIB_restrict s2, size_t n ) { char * rc = s1; @@ -28,6 +30,8 @@ char * strncpy( char * _PDCLIB_restrict s1, const char * _PDCLIB_restrict s2, si return rc; } +#endif + #ifdef TEST #include <_PDCLIB_test.h>