mirror of
https://git.FreeBSD.org/src.git
synced 2024-11-27 08:00:11 +00:00
witness_addgraph() is required even if DDB isn't compiled into the kernel,
so exclude it from #ifdef DDB. Submitted by: attilio
This commit is contained in:
parent
14e96b45e8
commit
1a4b919f8e
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=180613
@ -816,6 +816,7 @@ witness_display_list(void(*prnt)(const char *fmt, ...),
|
||||
witness_displaydescendants(prnt, w, 0);
|
||||
}
|
||||
}
|
||||
#endif /* DDB */
|
||||
|
||||
static void
|
||||
witness_addgraph(struct sbuf *sb, struct witness *parent)
|
||||
@ -836,6 +837,7 @@ witness_addgraph(struct sbuf *sb, struct witness *parent)
|
||||
}
|
||||
}
|
||||
|
||||
#ifdef DDB
|
||||
static void
|
||||
witness_display(void(*prnt)(const char *fmt, ...))
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user