From a9fbfe29cab6e07211ccd27d4ded115f3367691c Mon Sep 17 00:00:00 2001 From: dg Date: Tue, 2 May 1995 05:35:07 +0000 Subject: Added prototype for memcpy(). Changed size argument of "b" functions to size_t. --- sys/sys/systm.h | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) (limited to 'sys') diff --git a/sys/sys/systm.h b/sys/sys/systm.h index 20fc4d2..c91dc4a 100644 --- a/sys/sys/systm.h +++ b/sys/sys/systm.h @@ -36,7 +36,7 @@ * SUCH DAMAGE. * * @(#)systm.h 8.4 (Berkeley) 2/23/94 - * $Id: systm.h,v 1.18 1995/04/01 20:19:00 joerg Exp $ + * $Id: systm.h,v 1.19 1995/04/04 02:02:28 davidg Exp $ */ #ifndef _SYS_SYSTM_H_ @@ -126,10 +126,12 @@ int sprintf __P((char *buf, const char *, ...)); void ttyprintf __P((struct tty *, const char *, ...)); void kprintf __P((const char *fmt, int flags, struct tty *tp, va_list ap)); -void bcopy __P((const void *from, void *to, u_int len)); -void ovbcopy __P((const void *from, void *to, u_int len)); +void bcopy __P((const void *from, void *to, size_t len)); +void ovbcopy __P((const void *from, void *to, size_t len)); void blkclr __P((void *buf, u_int len)); -void bzero __P((void *buf, u_int len)); +void bzero __P((void *buf, size_t len)); + +void *memcpy __P((void *to, const void *from, size_t len)); int copystr __P((void *kfaddr, void *kdaddr, u_int len, u_int *done)); int copyinstr __P((void *udaddr, void *kaddr, u_int len, u_int *done)); -- cgit v1.1