From 8c2e432aabda338af98d3fc6dbb21156108c58ae Mon Sep 17 00:00:00 2001 From: Marin Ramesa Date: Sat, 23 Nov 2013 15:29:26 +0100 Subject: 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. --- kern/thread.c | 3 --- 1 file changed, 3 deletions(-) (limited to 'kern/thread.c') diff --git a/kern/thread.c b/kern/thread.c index 67fd41ed..72324120 100644 --- a/kern/thread.c +++ b/kern/thread.c @@ -80,9 +80,6 @@ extern void pcb_module_init(void); struct thread thread_template; #if MACH_DEBUG -void stack_init(vm_offset_t stack); /* forward */ -void stack_finalize(vm_offset_t stack); /* forward */ - #define STACK_MARKER 0xdeadbeefU boolean_t stack_check_usage = FALSE; decl_simple_lock_data(, stack_usage_lock) -- cgit v1.2.3