diff options
| author | christos <christos@NetBSD.org> | 2008-03-25 23:23:34 +0000 |
|---|---|---|
| committer | christos <christos@NetBSD.org> | 2008-03-25 23:23:34 +0000 |
| commit | 9f2bc34fb9871e1d6dbe5e96999f623bf50d40b8 (patch) | |
| tree | 278b160508ae086c2d6bc4450acc9df805d829f7 /common/lib/libc/string/bcopy.c | |
| parent | 55feb339a9fb2c01274218595f6796f415f67093 (diff) | |
bcopy does not return ptr.
Diffstat (limited to 'common/lib/libc/string/bcopy.c')
| -rw-r--r-- | common/lib/libc/string/bcopy.c | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/common/lib/libc/string/bcopy.c b/common/lib/libc/string/bcopy.c index 35d8c6b940b..f14c2e53f92 100644 --- a/common/lib/libc/string/bcopy.c +++ b/common/lib/libc/string/bcopy.c @@ -1,4 +1,4 @@ -/* $NetBSD: bcopy.c,v 1.6 2008/03/25 23:16:29 christos Exp $ */ +/* $NetBSD: bcopy.c,v 1.7 2008/03/25 23:23:34 christos Exp $ */ /*- * Copyright (c) 1990, 1993 @@ -37,7 +37,7 @@ #if 0 static char sccsid[] = "@(#)bcopy.c 8.1 (Berkeley) 6/4/93"; #else -__RCSID("$NetBSD: bcopy.c,v 1.6 2008/03/25 23:16:29 christos Exp $"); +__RCSID("$NetBSD: bcopy.c,v 1.7 2008/03/25 23:23:34 christos Exp $"); #endif #endif /* LIBC_SCCS and not lint */ @@ -196,7 +196,7 @@ memmove(void *s1, const void *s2, size_t n) /* * This is designed to be small, not fast. */ -void * +void bcopy(const void *s2, void *s1, size_t n) { const char *f = s2; @@ -204,7 +204,6 @@ bcopy(const void *s2, void *s1, size_t n) while (n-- > 0) *t++ = *f++; - return s1; } #endif #endif |
