summaryrefslogtreecommitdiff
path: root/kern/thread.h
diff options
context:
space:
mode:
authorMarin Ramesa <mpr@hi.t-com.hr>2013-11-23 15:29:26 +0100
committerSamuel Thibault <samuel.thibault@ens-lyon.org>2013-11-24 22:54:16 +0100
commit8c2e432aabda338af98d3fc6dbb21156108c58ae (patch)
tree592a5fec3dba6e76de3234e0f9a67d78f51c852b /kern/thread.h
parent9d6d964bad51968375b88e7b0bf56b4361801667 (diff)
kern: move forward declarations into a header file
* kern/thread.c [MACH_DEBUG] (stack_init, stack_finalize): Remove forward declarations. * kern/thread.h [MACH_DEBUG] (stack_init, stack_finalize): Add prototypes.
Diffstat (limited to 'kern/thread.h')
-rw-r--r--kern/thread.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/kern/thread.h b/kern/thread.h
index beb2dbc..559e90b 100644
--- a/kern/thread.h
+++ b/kern/thread.h
@@ -391,4 +391,9 @@ extern void thread_unfreeze(
#define current_space() (current_task()->itk_space)
#define current_map() (current_task()->map)
+#if MACH_DEBUG
+void stack_init(vm_offset_t stack);
+void stack_finalize(vm_offset_t stack);
+#endif /* MACH_DEBUG */
+
#endif /* _KERN_THREAD_H_ */