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
@ -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