From 8131e02c559af4aa035c727319196ba46ffc4349 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Axel=20D=C3=B6rfler?= Date: Tue, 16 Mar 2004 02:24:42 +0000 Subject: [PATCH] Made C++ safe. git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6994 a95241bf-73f2-0310-859d-f6bbb57e9c96 --- headers/private/kernel/arch/thread.h | 11 +++++++++++ 1 file changed, 11 insertions(+) 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 */