From f3cadd05dddd7e0781ae57e6f33b1d33123dacd6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Axel=20D=C3=B6rfler?= Date: Tue, 25 Jan 2005 14:24:01 +0000 Subject: [PATCH] Improved header - struct kernel_args was only defined in arch headers. git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11019 a95241bf-73f2-0310-859d-f6bbb57e9c96 --- headers/private/kernel/thread.h | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/headers/private/kernel/thread.h b/headers/private/kernel/thread.h index 9eb8cdef43..f3e9d99f5a 100755 --- a/headers/private/kernel/thread.h +++ b/headers/private/kernel/thread.h @@ -1,5 +1,5 @@ /* - * Copyright 2002-2004, Axel Dörfler, axeld@pinc-software.de. + * Copyright 2002-2005, Axel Dörfler, axeld@pinc-software.de. * Distributed under the terms of the MIT License. * * Copyright 2001-2002, Travis Geiselbrecht. All rights reserved. @@ -13,6 +13,8 @@ #include #include +struct kernel_args; + #ifdef __cplusplus extern "C" { @@ -33,7 +35,7 @@ void thread_atkernel_entry(void); // called when the thread enters the kernel on behalf of the thread void thread_atkernel_exit(void); -status_t thread_init(kernel_args *ka); +status_t thread_init(struct kernel_args *args); status_t thread_per_cpu_init(int32 cpu_num); void thread_exit(void);