From: mickey Date: Tue, 25 Apr 2000 15:24:01 +0000 (+0000) Subject: make bzero() compile again; millert@ ok X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=c83ce2fb921a2e10bca87580cb7a719104e93aff;p=openbsd make bzero() compile again; millert@ ok --- diff --git a/sys/lib/libkern/memset.c b/sys/lib/libkern/memset.c index b26fcc6c051..b0a34c1ea62 100644 --- a/sys/lib/libkern/memset.c +++ b/sys/lib/libkern/memset.c @@ -1,3 +1,4 @@ +/* $OpenBSD: memset.c,v 1.2 2000/04/25 15:24:01 mickey Exp $ */ /* $NetBSD: memset.c,v 1.6 1998/03/27 05:35:47 cgd Exp $ */ /*- @@ -51,6 +52,7 @@ __RCSID("$NetBSD: memset.c,v 1.6 1998/03/27 05:35:47 cgd Exp $"); #include #include #else +#include #include #include #endif @@ -80,7 +82,9 @@ memset(dst0, c0, length) #endif { size_t t; +#ifndef BZERO u_int c; +#endif u_char *dst; dst = dst0;