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
/
strcpy.c
diff --git
a/functions/string/strcpy.c
b/functions/string/strcpy.c
index 49204da54ba27d679de4fe6679daf1cb806131db..8d55b67f808eed138e7b2bbc3eb25d9b6573f655 100644
(file)
--- a/
functions/string/strcpy.c
+++ b/
functions/string/strcpy.c
@@
-9,6
+9,9
@@
*/
#include <_PDCLIB_aux.h>
+#include <string.h>
+
+#ifndef REGTEST
char * strcpy( char * _PDCLIB_restrict s1, const char * _PDCLIB_restrict s2 )
{
@@
-17,6
+20,8
@@
char * strcpy( char * _PDCLIB_restrict s1, const char * _PDCLIB_restrict s2 )
return rc;
}
+#endif
+
#ifdef TEST
#include <_PDCLIB_test.h>