path: root/include/sync.h
diff options
author/C=EU/ST=EU/CN=Pablo Neira Ayuso/ </C=EU/ST=EU/CN=Pablo Neira Ayuso/>2008-01-09 22:52:31 +0000
committer/C=EU/ST=EU/CN=Pablo Neira Ayuso/ </C=EU/ST=EU/CN=Pablo Neira Ayuso/>2008-01-09 22:52:31 +0000
commit920b90f2b03c60b6940e83cdce8c4b4bfbbc4268 (patch)
tree1dc9fe70ee9304ea0ca72ceb6a2a07537d302cb8 /include/sync.h
parent6023de67c84e531939b77454783835c65f694bff (diff)
wake up the daemon iff there are real events to handle instead of polling (Based on comments from Max Kellerman)
Diffstat (limited to 'include/sync.h')
1 files changed, 1 insertions, 1 deletions
diff --git a/include/sync.h b/include/sync.h
index a27fb93..e6ce327 100644
--- a/include/sync.h
+++ b/include/sync.h
@@ -15,7 +15,7 @@ struct sync_mode {
int (*local)(int fd, int type, void *data);
int (*recv)(const struct nethdr *net);
void (*send)(struct nethdr *net, struct us_conntrack *u);
- void (*run)(int step);
+ void (*run)(void);
extern struct sync_mode alarm;