summaryrefslogtreecommitdiffstats
path: root/lib/libkvm/kvm.c
diff options
context:
space:
mode:
authormiod <miod@openbsd.org>2004-09-15 19:31:31 +0000
committermiod <miod@openbsd.org>2004-09-15 19:31:31 +0000
commitb7e5637a6c521dee53aeb950b6abd5c7c521fe4d (patch)
tree9cfc5a2035d4a7e607471e5056365936b39c054e /lib/libkvm/kvm.c
parentneed buf_free() to free buf, free() is not good enough (diff)
downloadwireguard-openbsd-b7e5637a6c521dee53aeb950b6abd5c7c521fe4d.tar.xz
wireguard-openbsd-b7e5637a6c521dee53aeb950b6abd5c7c521fe4d.zip
Kill (almost all) warnings.
Diffstat (limited to 'lib/libkvm/kvm.c')
-rw-r--r--lib/libkvm/kvm.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/lib/libkvm/kvm.c b/lib/libkvm/kvm.c
index 77ffa1880b4..8cec7db34b2 100644
--- a/lib/libkvm/kvm.c
+++ b/lib/libkvm/kvm.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: kvm.c,v 1.41 2004/09/14 22:39:56 deraadt Exp $ */
+/* $OpenBSD: kvm.c,v 1.42 2004/09/15 19:31:31 miod Exp $ */
/* $NetBSD: kvm.c,v 1.43 1996/05/05 04:31:59 gwr Exp $ */
/*-
@@ -38,7 +38,7 @@
#if 0
static char sccsid[] = "@(#)kvm.c 8.2 (Berkeley) 2/13/94";
#else
-static char *rcsid = "$OpenBSD: kvm.c,v 1.41 2004/09/14 22:39:56 deraadt Exp $";
+static char *rcsid = "$OpenBSD: kvm.c,v 1.42 2004/09/15 19:31:31 miod Exp $";
#endif
#endif /* LIBC_SCCS and not lint */
@@ -69,6 +69,8 @@ static char *rcsid = "$OpenBSD: kvm.c,v 1.41 2004/09/14 22:39:56 deraadt Exp $";
#include "kvm_private.h"
+extern int __fdnlist(int, struct nlist *);
+
static int kvm_dbopen(kvm_t *, const char *);
static int _kvm_get_header(kvm_t *);
static kvm_t *_kvm_open(kvm_t *, const char *, const char *, const char *,