aboutsummaryrefslogtreecommitdiffstats
path: root/missing_d/memcmp.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/memcmp.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/memcmp.c')
-rw-r--r--missing_d/memcmp.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/missing_d/memcmp.c b/missing_d/memcmp.c
index 63cb5f8f..12b3775d 100644
--- a/missing_d/memcmp.c
+++ b/missing_d/memcmp.c
@@ -7,8 +7,8 @@
int
memcmp (s1, s2, l)
-register char *s1, *s2;
-register int l;
+char *s1, *s2;
+int l;
{
for (; l-- > 0; s1++, s2++) {
if (*s1 != *s2)