diff options
author | Arnold D. Robbins <arnold@skeeve.com> | 2010-11-25 21:22:47 +0200 |
---|---|---|
committer | Arnold D. Robbins <arnold@skeeve.com> | 2010-11-25 21:22:47 +0200 |
commit | 286748e1a8500f647c3bccfb467b02bf3a37f398 (patch) | |
tree | 6385bb2f1ee6c0837204edfd307babceeae7f89a /missing_d/memcmp.c | |
parent | 50d4a80f67e5bcbf3902138d85a25f6a90847d31 (diff) | |
download | egawk-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.c | 4 |
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) |