aboutsummaryrefslogtreecommitdiffstats
path: root/missing_d/memcpy.c
diff options
context:
space:
mode:
authorArnold D. Robbins <arnold@skeeve.com>2010-11-25 21:22:47 +0200
committerArnold D. Robbins <arnold@skeeve.com>2010-11-25 21:22:47 +0200
commit286748e1a8500f647c3bccfb467b02bf3a37f398 (patch)
tree6385bb2f1ee6c0837204edfd307babceeae7f89a /missing_d/memcpy.c
parent50d4a80f67e5bcbf3902138d85a25f6a90847d31 (diff)
downloadegawk-286748e1a8500f647c3bccfb467b02bf3a37f398.tar.gz
egawk-286748e1a8500f647c3bccfb467b02bf3a37f398.tar.bz2
egawk-286748e1a8500f647c3bccfb467b02bf3a37f398.zip
Add POSIX string comparison with strcoll.
Diffstat (limited to 'missing_d/memcpy.c')
-rw-r--r--missing_d/memcpy.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/missing_d/memcpy.c b/missing_d/memcpy.c
index 3c4accdf..568a006a 100644
--- a/missing_d/memcpy.c
+++ b/missing_d/memcpy.c
@@ -6,10 +6,10 @@
char *
memcpy (dest, src, l)
-register char *dest, *src;
-register int l;
+char *dest, *src;
+int l;
{
- register char *ret = dest;
+ char *ret = dest;
while (l--)
*dest++ = *src++;