summaryrefslogtreecommitdiff
path: root/string.c
diff options
context:
space:
mode:
authorAustin Clements <[email protected]>2009-10-07 13:06:55 -0400
committerAustin Clements <[email protected]>2009-10-07 13:06:55 -0400
commit2c536bff67ed209b1c5aa3d40e40731813bfcd9a (patch)
tree99d5dfaa402c65f97218b7aa4195f373090e4795 /string.c
parent6639ce56d986cdae197e4f013dde536178ad23f8 (diff)
downloadxv6-labs-2c536bff67ed209b1c5aa3d40e40731813bfcd9a.tar.gz
xv6-labs-2c536bff67ed209b1c5aa3d40e40731813bfcd9a.tar.bz2
xv6-labs-2c536bff67ed209b1c5aa3d40e40731813bfcd9a.zip
Remove memcpy prototypes at Russ' request to prevent code from calling
memcpy directly.
Diffstat (limited to 'string.c')
-rw-r--r--string.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/string.c b/string.c
index b356895..a557dc5 100644
--- a/string.c
+++ b/string.c
@@ -44,6 +44,7 @@ memmove(void *dst, const void *src, uint n)
return dst;
}
+// memcpy exists to placate GCC. Use memmove.
void*
memcpy(void *dst, const void *src, uint n)
{