summaryrefslogtreecommitdiff
path: root/lib/libc/string
diff options
context:
space:
mode:
authorwrstuden <wrstuden@NetBSD.org>1998-08-09 22:48:11 +0000
committerwrstuden <wrstuden@NetBSD.org>1998-08-09 22:48:11 +0000
commitb75289e7bc0780f2df2f47f7ae035984a2c5c790 (patch)
tree0088f5619d31f92014726c60819d518e6b17ee81 /lib/libc/string
parent2c8717021debaef4963921224b23ca1e8eebb3b6 (diff)
'c' is only used #ifndef BZERO so wrap its declaration accordingly.
Diffstat (limited to 'lib/libc/string')
-rw-r--r--lib/libc/string/memset.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/lib/libc/string/memset.c b/lib/libc/string/memset.c
index 073fe16d853..377e130f7f2 100644
--- a/lib/libc/string/memset.c
+++ b/lib/libc/string/memset.c
@@ -1,4 +1,4 @@
-/* $NetBSD: memset.c,v 1.11 1998/03/27 05:34:15 cgd Exp $ */
+/* $NetBSD: memset.c,v 1.12 1998/08/09 22:48:11 wrstuden Exp $ */
/*-
* Copyright (c) 1990, 1993
@@ -41,7 +41,7 @@
#if 0
static char sccsid[] = "@(#)memset.c 8.1 (Berkeley) 6/4/93";
#else
-__RCSID("$NetBSD: memset.c,v 1.11 1998/03/27 05:34:15 cgd Exp $");
+__RCSID("$NetBSD: memset.c,v 1.12 1998/08/09 22:48:11 wrstuden Exp $");
#endif
#endif /* LIBC_SCCS and not lint */
@@ -80,7 +80,9 @@ memset(dst0, c0, length)
#endif
{
size_t t;
+#ifndef BZERO
u_int c;
+#endif
u_char *dst;
dst = dst0;