summaryrefslogtreecommitdiffstats
path: root/lib/libc/string/memcmp.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/libc/string/memcmp.c')
-rw-r--r--lib/libc/string/memcmp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/libc/string/memcmp.c b/lib/libc/string/memcmp.c
index 9711308..6b28c31 100644
--- a/lib/libc/string/memcmp.c
+++ b/lib/libc/string/memcmp.c
@@ -51,7 +51,7 @@ memcmp(s1, s2, n)
size_t n;
{
if (n != 0) {
- register const unsigned char *p1 = s1, *p2 = s2;
+ const unsigned char *p1 = s1, *p2 = s2;
do {
if (*p1++ != *p2++)
OpenPOWER on IntegriCloud