Some header work: removed unnecessary dependencies to stage2.h, fixed

some broken C++ export definitions, added missing licenses etc.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3152 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Axel Dörfler
2003-05-03 16:03:26 +00:00
parent 32439967b9
commit 564cba312e
22 changed files with 140 additions and 191 deletions
+9 -18
View File
@@ -1,37 +1,28 @@
/*
** Copyright 2003, Axel Dörfler, [email protected]. All rights reserved.
** Distributed under the terms of the OpenBeOS License.
*/
#ifndef _KERNEL_TIMER_H
#define _KERNEL_TIMER_H
/**
* @file kernel/timer.h
* @brief Timer structures and definitions
*/
#include <stage2.h>
#include <KernelExport.h>
/**
* @defgroup Timer Timer structures (not architecture specific)
* @ingroup OpenBeOS_Kernel
* @{
*/
#ifdef __cplusplus
extern "C" {
#endif /* __cplusplus */
#endif
/** kernel functions */
/* kernel functions */
int timer_init(kernel_args *);
int timer_interrupt(void);
/** these two are only to be used by the scheduler */
/* these two are only to be used by the scheduler */
int local_timer_cancel_event(timer *event);
int _local_timer_cancel_event(int curr_cpu, timer *event);
#ifdef __cplusplus
}
#endif /* __cplusplus */
/** @} */
#endif /* _KERNEL_TIMER_H */
#endif
#endif /* _KERNEL_TIMER_H */