summaryrefslogtreecommitdiff
path: root/sys/kern/subr_stack.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/kern/subr_stack.c')
-rw-r--r--sys/kern/subr_stack.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/sys/kern/subr_stack.c b/sys/kern/subr_stack.c
index e3cf1568c90e..db03ccfdf57d 100644
--- a/sys/kern/subr_stack.c
+++ b/sys/kern/subr_stack.c
@@ -105,6 +105,7 @@ stack_print(struct stack *st)
}
}
+#ifdef DDB
void
stack_print_ddb(struct stack *st)
{
@@ -120,6 +121,7 @@ stack_print_ddb(struct stack *st)
namebuf, offset);
}
}
+#endif
/*
* Two print routines -- one for use from DDB and DDB-like contexts, the