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:
Robert Watson 2008-07-19 17:47:23 +00:00
parent 14e96b45e8
commit 1a4b919f8e

View File

@ -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, ...))
{