diff --git a/headers/private/kernel/arch/timer.h b/headers/private/kernel/arch/timer.h index d5ef94d164..29a89520b1 100644 --- a/headers/private/kernel/arch/timer.h +++ b/headers/private/kernel/arch/timer.h @@ -1,6 +1,6 @@ -/* -** Copyright 2001-2002, Travis Geiselbrecht. All rights reserved. -** Distributed under the terms of the NewOS License. +/* +** Copyright 2004, The OpenBeOS Team. All rights reserved. +** Distributed under the terms of the OpenBeOS License. */ #ifndef KERNEL_ARCH_TIMER_H #define KERNEL_ARCH_TIMER_H @@ -9,9 +9,16 @@ struct kernel_args; +#ifdef __cplusplus +extern "C" { +#endif -void arch_timer_set_hardware_timer(bigtime_t timeout); -void arch_timer_clear_hardware_timer(void); -int arch_init_timer(struct kernel_args *ka); +extern void arch_timer_set_hardware_timer(bigtime_t timeout); +extern void arch_timer_clear_hardware_timer(void); +extern int arch_init_timer(struct kernel_args *args); + +#ifdef __cplusplus +} +#endif #endif /* KERNEL_ARCH_TIMER_H */