From 77f321a54c747e5d40bc22f3f68b77b421ee4582 Mon Sep 17 00:00:00 2001 From: jsg Date: Sun, 16 May 2021 04:45:58 +0000 Subject: [PATCH] deregister --- sys/lib/libkern/bcmp.c | 6 +++--- sys/lib/libkern/memcpy.c | 6 +++--- sys/lib/libkern/memmove.c | 6 +++--- 3 files changed, 9 insertions(+), 9 deletions(-) diff --git a/sys/lib/libkern/bcmp.c b/sys/lib/libkern/bcmp.c index 821339b5ab9..453f046a231 100644 --- a/sys/lib/libkern/bcmp.c +++ b/sys/lib/libkern/bcmp.c @@ -1,4 +1,4 @@ -/* $OpenBSD: bcmp.c,v 1.11 2017/01/24 08:09:05 kettenis Exp $ */ +/* $OpenBSD: bcmp.c,v 1.12 2021/05/16 04:45:58 jsg Exp $ */ /* * Copyright (c) 1987 Regents of the University of California. @@ -39,9 +39,9 @@ int bcmp(b1, b2, length) const void *b1, *b2; - register size_t length; + size_t length; { - register char *p1, *p2; + char *p1, *p2; if (length == 0) return(0); diff --git a/sys/lib/libkern/memcpy.c b/sys/lib/libkern/memcpy.c index fb4a15ecebe..99d042588a7 100644 --- a/sys/lib/libkern/memcpy.c +++ b/sys/lib/libkern/memcpy.c @@ -1,4 +1,4 @@ -/* $OpenBSD: memcpy.c,v 1.4 2017/01/24 08:09:05 kettenis Exp $ */ +/* $OpenBSD: memcpy.c,v 1.5 2021/05/16 04:45:58 jsg Exp $ */ /*- * Copyright (c) 1993 @@ -40,8 +40,8 @@ void * memcpy(void *s1, const void *s2, size_t n) { - register const char *f = s2; - register char *t = s1; + const char *f = s2; + char *t = s1; while (n-- > 0) *t++ = *f++; diff --git a/sys/lib/libkern/memmove.c b/sys/lib/libkern/memmove.c index 48e0a72a759..1b0900ed75c 100644 --- a/sys/lib/libkern/memmove.c +++ b/sys/lib/libkern/memmove.c @@ -1,4 +1,4 @@ -/* $OpenBSD: memmove.c,v 1.2 2017/01/24 08:09:05 kettenis Exp $ */ +/* $OpenBSD: memmove.c,v 1.3 2021/05/16 04:45:58 jsg Exp $ */ /*- * Copyright (c) 1993 @@ -40,8 +40,8 @@ void * memmove(void *s1, const void *s2, size_t n) { - register const char *f = s2; - register char *t = s1; + const char *f = s2; + char *t = s1; if (f < t) { f += n; -- 2.20.1