summaryrefslogtreecommitdiff
path: root/sbin
diff options
context:
space:
mode:
authorTodd C. Miller <millert@cvs.openbsd.org>2001-07-07 00:11:27 +0000
committerTodd C. Miller <millert@cvs.openbsd.org>2001-07-07 00:11:27 +0000
commit4314133b4f972df7ef83771abf300b9d98edd503 (patch)
treea20ad82a0899896580779842cbefe2b89aeba57c /sbin
parent6bdc5660e794db600386b638fbc077f66cd56aec (diff)
#include <string.h> for memset() proto
Diffstat (limited to 'sbin')
-rw-r--r--sbin/dmesg/dmesg.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/sbin/dmesg/dmesg.c b/sbin/dmesg/dmesg.c
index 31bfb9d198e..a59dc231e42 100644
--- a/sbin/dmesg/dmesg.c
+++ b/sbin/dmesg/dmesg.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: dmesg.c,v 1.11 2001/06/22 23:24:25 deraadt Exp $ */
+/* $OpenBSD: dmesg.c,v 1.12 2001/07/07 00:11:26 millert Exp $ */
/* $NetBSD: dmesg.c,v 1.8 1995/03/18 14:54:49 cgd Exp $ */
/*-
@@ -44,7 +44,7 @@ static char copyright[] =
#if 0
static char sccsid[] = "@(#)dmesg.c 8.1 (Berkeley) 6/5/93";
#else
-static char rcsid[] = "$OpenBSD: dmesg.c,v 1.11 2001/06/22 23:24:25 deraadt Exp $";
+static char rcsid[] = "$OpenBSD: dmesg.c,v 1.12 2001/07/07 00:11:26 millert Exp $";
#endif
#endif /* not lint */
@@ -59,6 +59,7 @@ static char rcsid[] = "$OpenBSD: dmesg.c,v 1.11 2001/06/22 23:24:25 deraadt Exp
#include <nlist.h>
#include <stdio.h>
#include <stdlib.h>
+#include <string.h>
#include <time.h>
#include <unistd.h>
#include <vis.h>