diff options
author | 2003-08-08 03:36:06 +0000 | |
---|---|---|
committer | 2003-08-08 03:36:06 +0000 | |
commit | 53c346fb790457e69323f869c1f9dbeecbfa52f2 (patch) | |
tree | a8821b8fabdb15c2570d0e98c5963f824b8c540e /sys/lib/libsa/memcpy.c | |
parent | no pcmcia pccom on this floppy, sorry (diff) | |
download | wireguard-openbsd-53c346fb790457e69323f869c1f9dbeecbfa52f2.tar.xz wireguard-openbsd-53c346fb790457e69323f869c1f9dbeecbfa52f2.zip |
first ansi
Diffstat (limited to 'sys/lib/libsa/memcpy.c')
-rw-r--r-- | sys/lib/libsa/memcpy.c | 11 |
1 files changed, 4 insertions, 7 deletions
diff --git a/sys/lib/libsa/memcpy.c b/sys/lib/libsa/memcpy.c index 3927af8f158..15425355490 100644 --- a/sys/lib/libsa/memcpy.c +++ b/sys/lib/libsa/memcpy.c @@ -1,4 +1,4 @@ -/* $OpenBSD: memcpy.c,v 1.4 2003/06/02 23:28:09 millert Exp $ */ +/* $OpenBSD: memcpy.c,v 1.5 2003/08/08 03:36:07 deraadt Exp $ */ /* $NetBSD: bcopy.c,v 1.5 1995/04/22 13:46:50 cgd Exp $ */ /*- @@ -39,13 +39,10 @@ * This is designed to be small, not fast. */ void * -memcpy(s1, s2, n) - void *s1; - const void *s2; - size_t n; +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; if (f < t) { f += n; |