public
/
FUZIX.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2c38660
)
Work around sdcc oddness (it defines strcpy() as a macro).
author
David Given
<dg@cowlark.com>
Wed, 28 Oct 2015 23:25:35 +0000
(
00:25
+0100)
committer
David Given
<dg@cowlark.com>
Wed, 28 Oct 2015 23:25:35 +0000
(
00:25
+0100)
Library/libs/strcpy.c
patch
|
blob
|
history
diff --git
a/Library/libs/strcpy.c
b/Library/libs/strcpy.c
index
5b15a2c
..
2314f7f
100644
(file)
--- a/
Library/libs/strcpy.c
+++ b/
Library/libs/strcpy.c
@@
-7,6
+7,7
@@
#include <string.h>
\r
\r
/********************** Function strcpy ************************************/
\r
+#undef strcpy
char *strcpy(char *d, const char *s)
\r
{
return memcpy(d, s, strlen(s) + 1);