From 186d2ccb7f43d556287b7182c14998469f741476 Mon Sep 17 00:00:00 2001 From: kleink Date: Thu, 8 Jun 2000 06:47:17 +0000 Subject: [PATCH] Need for declaration, and make argument declarations match. --- sys/arch/powerpc/powerpc/copystr.c | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/sys/arch/powerpc/powerpc/copystr.c b/sys/arch/powerpc/powerpc/copystr.c index f08d245825b7..4eb2274f8e9e 100644 --- a/sys/arch/powerpc/powerpc/copystr.c +++ b/sys/arch/powerpc/powerpc/copystr.c @@ -1,4 +1,4 @@ -/* $NetBSD: copystr.c,v 1.2 2000/02/19 23:29:17 chs Exp $ */ +/* $NetBSD: copystr.c,v 1.3 2000/06/08 06:47:17 kleink Exp $ */ /*- * Copyright (C) 1995 Wolfgang Solfrank. @@ -32,18 +32,19 @@ */ #include #include +#include /* * Emulate copyinstr. */ int copystr(kfaddr, kdaddr, len, done) - void *kfaddr; + const void *kfaddr; void *kdaddr; size_t len; size_t *done; { - u_char *kfp = kfaddr; + const u_char *kfp = kfaddr; u_char *kdp = kdaddr; size_t l; int rv;