summaryrefslogtreecommitdiff
path: root/src/cache_timer.c
diff options
context:
space:
mode:
author/C=EU/ST=EU/CN=Pablo Neira Ayuso/emailAddress=pablo@netfilter.org </C=EU/ST=EU/CN=Pablo Neira Ayuso/emailAddress=pablo@netfilter.org>2008-01-15 13:10:23 +0000
committer/C=EU/ST=EU/CN=Pablo Neira Ayuso/emailAddress=pablo@netfilter.org </C=EU/ST=EU/CN=Pablo Neira Ayuso/emailAddress=pablo@netfilter.org>2008-01-15 13:10:23 +0000
commita944cf07400e78ac17f559dd41a670427648c258 (patch)
tree6c65a226050854e4b86db13f53f5b40d2527c108 /src/cache_timer.c
parent369a532132e9c9f19e0dd07d2e2c554c92c70f67 (diff)
downloadconntrack-tools-a944cf07400e78ac17f559dd41a670427648c258.tar.gz
conntrack-tools-a944cf07400e78ac17f559dd41a670427648c258.zip
Max Kellermann <max@duempel.org>:
set the return type of the parse functions to "void"
Diffstat (limited to 'src/cache_timer.c')
-rw-r--r--src/cache_timer.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/cache_timer.c b/src/cache_timer.c
index 2379f4b..8b4e4ea 100644
--- a/src/cache_timer.c
+++ b/src/cache_timer.c
@@ -35,10 +35,8 @@ static void timer_add(struct us_conntrack *u, void *data)
{
struct alarm_list *alarm = data;
- init_alarm(alarm);
+ init_alarm(alarm, u, timeout);
set_alarm_expiration(alarm, CONFIG(cache_timeout), 0);
- set_alarm_data(alarm, u);
- set_alarm_function(alarm, timeout);
add_alarm(alarm);
}