summaryrefslogtreecommitdiffstats
path: root/sys/ddb/db_interface.h
diff options
context:
space:
mode:
authorclaudio <claudio@openbsd.org>2010-11-05 15:17:50 +0000
committerclaudio <claudio@openbsd.org>2010-11-05 15:17:50 +0000
commit76262c1d36042e3e766ab8638e01e56df37bdce9 (patch)
treeb9678704260168dcd3b67cc452e85bccaf1abf03 /sys/ddb/db_interface.h
parent- fix possible use of uninitialized variable. (diff)
downloadwireguard-openbsd-76262c1d36042e3e766ab8638e01e56df37bdce9.tar.xz
wireguard-openbsd-76262c1d36042e3e766ab8638e01e56df37bdce9.zip
Implement m_print as real ddb command "show mbuf addr" in the way other
such commands are implemented. "Ja! You'll need to update ddb.4 as well, of course." miod@
Diffstat (limited to 'sys/ddb/db_interface.h')
-rw-r--r--sys/ddb/db_interface.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/sys/ddb/db_interface.h b/sys/ddb/db_interface.h
index 8be1e9b3d75..bcd4956975b 100644
--- a/sys/ddb/db_interface.h
+++ b/sys/ddb/db_interface.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: db_interface.h,v 1.15 2009/08/17 13:11:58 jasper Exp $ */
+/* $OpenBSD: db_interface.h,v 1.16 2010/11/05 15:17:50 claudio Exp $ */
/* $NetBSD: db_interface.h,v 1.1 1996/02/05 01:57:03 christos Exp $ */
/*
@@ -55,6 +55,9 @@ void vfs_mount_print(struct mount *, int, int (*)(const char *, ...));
/* kern/subr_pool.c */
void db_show_all_pools(db_expr_t, int, db_expr_t, char *);
+/* kern/uipc_mbuf.c */
+void m_print(void *, int (*)(const char *, ...));
+
/* nfs/nfs_debug.c */
void db_show_all_nfsreqs(db_expr_t, int, db_expr_t, char *);
void nfs_request_print(void *, int, int (*)(const char *, ...));