projects
/
fw
/
pdclib
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Added #ifdef to allow regression against system lib.
[fw/pdclib]
/
functions
/
string
/
strncat.c
diff --git
a/functions/string/strncat.c
b/functions/string/strncat.c
index 7fdaa2670eff250cba6bc045723320d844667f71..57200489c97530d58e00901b6c22eca50f1b0b69 100644
(file)
--- a/
functions/string/strncat.c
+++ b/
functions/string/strncat.c
@@
-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>