summaryrefslogtreecommitdiff
path: root/sys/kern/subr_stack.c
diff options
context:
space:
mode:
authorRobert Watson <rwatson@FreeBSD.org>2007-12-02 20:40:35 +0000
committerRobert Watson <rwatson@FreeBSD.org>2007-12-02 20:40:35 +0000
commit3c90d1ea7492e90a0d4d45bbb682a65a55362d78 (patch)
tree25f0781d4e40520309936f686c0accc99753b656 /sys/kern/subr_stack.c
parentcdc03cc897d6c95a798fff39130f490c83dc0112 (diff)
Notes
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