diff options
Diffstat (limited to 'sys/lib/libkern/bzero.c')
-rw-r--r-- | sys/lib/libkern/bzero.c | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/sys/lib/libkern/bzero.c b/sys/lib/libkern/bzero.c index d4d110ab034..d3d83786d38 100644 --- a/sys/lib/libkern/bzero.c +++ b/sys/lib/libkern/bzero.c @@ -1,4 +1,4 @@ -/* $OpenBSD: bzero.c,v 1.4 2003/06/02 23:28:08 millert Exp $ */ +/* $OpenBSD: bzero.c,v 1.5 2004/08/07 00:38:32 deraadt Exp $ */ /* * Copyright (c) 1987 Regents of the University of California. @@ -31,7 +31,7 @@ #if defined(LIBC_SCCS) && !defined(lint) /*static char *sccsid = "from: @(#)bzero.c 5.7 (Berkeley) 2/24/91";*/ -static char *rcsid = "$OpenBSD: bzero.c,v 1.4 2003/06/02 23:28:08 millert Exp $"; +static char *rcsid = "$OpenBSD: bzero.c,v 1.5 2004/08/07 00:38:32 deraadt Exp $"; #endif /* LIBC_SCCS and not lint */ #ifndef _KERNEL @@ -44,11 +44,9 @@ static char *rcsid = "$OpenBSD: bzero.c,v 1.4 2003/06/02 23:28:08 millert Exp $" * bzero -- vax movc5 instruction */ void -bzero(b, length) - void *b; - register size_t length; +bzero(void *b, size_t length) { - register char *p; + char *p; for (p = b; length--;) *p++ = '\0'; |