Force C linkage on those two, fixes them being undefined after the .c to .cpp rename.

Fixes part of #4965.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@34042 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
François Revol 2009-11-14 19:44:00 +00:00
parent 356b0f18b9
commit fbe3b5b994

View File

@ -27,9 +27,9 @@
static struct arch_thread sInitialState;
// Helper function for thread creation, defined in arch_asm.S.
extern void ppc_kernel_thread_root();
extern "C" void ppc_kernel_thread_root();
extern void ppc_switch_stack_and_call(addr_t newKstack, void (*func)(void *),
extern "C" void ppc_switch_stack_and_call(addr_t newKstack, void (*func)(void *),
void *arg);