Cleanup, fixed return codes.
Removed the local_timer_cancel_event() function, since it is not used anywhere. git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6973 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -1,5 +1,5 @@
|
|||||||
/*
|
/*
|
||||||
** Copyright 2003, Axel Dörfler, [email protected]. All rights reserved.
|
** Copyright 2003-2004, Axel Dörfler, [email protected]. All rights reserved.
|
||||||
** Distributed under the terms of the OpenBeOS License.
|
** Distributed under the terms of the OpenBeOS License.
|
||||||
*/
|
*/
|
||||||
#ifndef _KERNEL_TIMER_H
|
#ifndef _KERNEL_TIMER_H
|
||||||
@@ -13,13 +13,14 @@
|
|||||||
extern "C" {
|
extern "C" {
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/* kernel functions */
|
struct kernel_args;
|
||||||
int timer_init(kernel_args *);
|
|
||||||
int timer_interrupt(void);
|
|
||||||
|
|
||||||
/* these two are only to be used by the scheduler */
|
/* kernel functions */
|
||||||
int local_timer_cancel_event(timer *event);
|
status_t timer_init(struct kernel_args *);
|
||||||
int _local_timer_cancel_event(int curr_cpu, timer *event);
|
int32 timer_interrupt(void);
|
||||||
|
|
||||||
|
/* this one is only to be used by the scheduler */
|
||||||
|
status_t _local_timer_cancel_event(int currentCPU, timer *event);
|
||||||
|
|
||||||
#ifdef __cplusplus
|
#ifdef __cplusplus
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user