Made C++ safe.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6994 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -1,4 +1,7 @@
|
|||||||
/*
|
/*
|
||||||
|
** Copyright 2002-2004, The OpenBeOS Team. All rights reserved.
|
||||||
|
** Distributed under the terms of the OpenBeOS License.
|
||||||
|
**
|
||||||
** Copyright 2001-2002, Travis Geiselbrecht. All rights reserved.
|
** Copyright 2001-2002, Travis Geiselbrecht. All rights reserved.
|
||||||
** Distributed under the terms of the NewOS License.
|
** Distributed under the terms of the NewOS License.
|
||||||
*/
|
*/
|
||||||
@@ -7,6 +10,10 @@
|
|||||||
|
|
||||||
#include <thread.h>
|
#include <thread.h>
|
||||||
|
|
||||||
|
#ifdef __cplusplus
|
||||||
|
extern "C" {
|
||||||
|
#endif
|
||||||
|
|
||||||
int arch_team_init_team_struct(struct team *t, bool kernel);
|
int arch_team_init_team_struct(struct team *t, bool kernel);
|
||||||
int arch_thread_init_thread_struct(struct thread *t);
|
int arch_thread_init_thread_struct(struct thread *t);
|
||||||
void arch_thread_init_tls(struct thread *thread);
|
void arch_thread_init_tls(struct thread *thread);
|
||||||
@@ -31,4 +38,8 @@ void arch_check_syscall_restart(struct thread *t);
|
|||||||
// for any inline overrides
|
// for any inline overrides
|
||||||
#include <arch_thread.h>
|
#include <arch_thread.h>
|
||||||
|
|
||||||
|
#ifdef __cplusplus
|
||||||
|
}
|
||||||
|
#endif
|
||||||
|
|
||||||
#endif /* KERNEL_ARCH_THREAD_H */
|
#endif /* KERNEL_ARCH_THREAD_H */
|
||||||
|
|||||||
Reference in New Issue
Block a user