artulab
projects
/
openbsd
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9e79635
)
make bzero() compile again; millert@ ok
author
mickey
<mickey@openbsd.org>
Tue, 25 Apr 2000 15:24:01 +0000
(15:24 +0000)
committer
mickey
<mickey@openbsd.org>
Tue, 25 Apr 2000 15:24:01 +0000
(15:24 +0000)
sys/lib/libkern/memset.c
patch
|
blob
|
history
diff --git
a/sys/lib/libkern/memset.c
b/sys/lib/libkern/memset.c
index
b26fcc6
..
b0a34c1
100644
(file)
--- 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 <string.h>
#include <limits.h>
#else
+#include <sys/systm.h>
#include <lib/libkern/libkern.h>
#include <machine/limits.h>
#endif
@@
-80,7
+82,9
@@
memset(dst0, c0, length)
#endif
{
size_t t;
+#ifndef BZERO
u_int c;
+#endif
u_char *dst;
dst = dst0;