diff --git a/headers/private/kernel/arch/thread.h b/headers/private/kernel/arch/thread.h index 6d8790b5e5..ca7dc15a3a 100644 --- a/headers/private/kernel/arch/thread.h +++ b/headers/private/kernel/arch/thread.h @@ -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. ** Distributed under the terms of the NewOS License. */ @@ -7,6 +10,10 @@ #include +#ifdef __cplusplus +extern "C" { +#endif + int arch_team_init_team_struct(struct team *t, bool kernel); int arch_thread_init_thread_struct(struct thread *t); void arch_thread_init_tls(struct thread *thread); @@ -31,4 +38,8 @@ void arch_check_syscall_restart(struct thread *t); // for any inline overrides #include +#ifdef __cplusplus +} +#endif + #endif /* KERNEL_ARCH_THREAD_H */