summaryrefslogtreecommitdiffstats
path: root/sys/ddb/db_interface.h
diff options
context:
space:
mode:
authorthib <thib@openbsd.org>2009-08-13 13:49:20 +0000
committerthib <thib@openbsd.org>2009-08-13 13:49:20 +0000
commit4c6830d607a113f4221e9e95431ee8aef0b6c9d3 (patch)
tree1ea5b48abc05a0991767db833172bd66adfd05e7 /sys/ddb/db_interface.h
parentsync synopsis and usage(); (diff)
downloadwireguard-openbsd-4c6830d607a113f4221e9e95431ee8aef0b6c9d3.tar.xz
wireguard-openbsd-4c6830d607a113f4221e9e95431ee8aef0b6c9d3.zip
add a show all vnodes command, use dlg's nice pool_walk() to accomplish
this. ok beck@, dlg@
Diffstat (limited to 'sys/ddb/db_interface.h')
-rw-r--r--sys/ddb/db_interface.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/sys/ddb/db_interface.h b/sys/ddb/db_interface.h
index e15ef4bbcdd..5d57ed043d9 100644
--- a/sys/ddb/db_interface.h
+++ b/sys/ddb/db_interface.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: db_interface.h,v 1.12 2009/06/17 01:30:30 thib Exp $ */
+/* $OpenBSD: db_interface.h,v 1.13 2009/08/13 13:49:20 thib Exp $ */
/* $NetBSD: db_interface.h,v 1.1 1996/02/05 01:57:03 christos Exp $ */
/*
@@ -46,11 +46,10 @@ void db_show_all_procs(db_expr_t, int, db_expr_t, char *);
void db_show_callout(db_expr_t, int, db_expr_t, char *);
struct mount;
-struct vnode;
/* kern/vfs_subr.c */
void vfs_buf_print(struct buf *, int, int (*)(const char *, ...));
-void vfs_vnode_print(struct vnode *, int, int (*)(const char *, ...));
+void vfs_vnode_print(void *, int, int (*)(const char *, ...));
void vfs_mount_print(struct mount *, int, int (*)(const char *, ...));
/* kern/subr_pool.c */