Replaced timer.h with a cpp safe version.

git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6977 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Axel Dörfler 2004-03-14 21:08:25 +00:00
parent 65e6374871
commit c27ed74e34

View File

@ -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 */