ddk: update
git-svn-id: svn://kolibrios.org@4125 a494cfbc-eb01-0410-851d-a64ba20cac60
This commit is contained in:
@@ -273,10 +273,17 @@ struct timer_list {
|
||||
|
||||
void (*function)(unsigned long);
|
||||
unsigned long data;
|
||||
|
||||
// struct tvec_base *base;
|
||||
u32 handle;
|
||||
};
|
||||
|
||||
#define setup_timer(_timer, _fn, _data) \
|
||||
do { \
|
||||
(_timer)->function = (_fn); \
|
||||
(_timer)->data = (_data); \
|
||||
(_timer)->handle = 0; \
|
||||
} while (0)
|
||||
|
||||
|
||||
struct timespec {
|
||||
long tv_sec; /* seconds */
|
||||
long tv_nsec; /* nanoseconds */
|
||||
|
Reference in New Issue
Block a user