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
This commit is contained in:
Axel Dörfler
2005-01-25 14:24:01 +00:00
parent e846ba3dd6
commit f3cadd05dd
+4 -2
View File
@@ -1,5 +1,5 @@
/*
* Copyright 2002-2004, Axel Dörfler, [email protected].
* Copyright 2002-2005, Axel Dörfler, [email protected].
* Distributed under the terms of the MIT License.
*
* Copyright 2001-2002, Travis Geiselbrecht. All rights reserved.
@@ -13,6 +13,8 @@
#include <thread_types.h>
#include <arch/thread.h>
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);