20,11 → 20,11 |
|
/** |
------------ |
CVS : $Id: timer.h,v 1.2 2003-03-13 13:48:05 pj Exp $ |
CVS : $Id: timer.h,v 1.3 2003-09-04 13:34:20 giacomo Exp $ |
|
File: $File$ |
Revision: $Revision: 1.2 $ |
Last update: $Date: 2003-03-13 13:48:05 $ |
Revision: $Revision: 1.3 $ |
Last update: $Date: 2003-09-04 13:34:20 $ |
------------ |
**/ |
|
50,6 → 50,7 |
#define __TIMER__ |
|
#include <kernel/kern.h> |
#include <time.h> |
#include <linux/compatib.h> |
#include "ll/sys/cdefs.h" |
|
76,14 → 77,19 |
void (*function)(unsigned long); |
PID pid; |
char Signat; |
time_t sharktimer; |
int event_timer; |
|
}; |
|
extern inline void init_timer(struct timer_list * timer) |
/*extern inline void init_timer(struct timer_list * timer) |
{ |
timer->next = NULL; |
timer->prev = NULL; |
} |
|
*/ |
void init_timer(struct timer_list * timer); |
void mod_timer(struct timer_list *timer, unsigned long expires); |
int add_timer(struct timer_list *timer); |
void del_timer(struct timer_list *timer); |
__END_DECLS |