summaryrefslogtreecommitdiff
path: root/netsniff-ng.c
diff options
context:
space:
mode:
authorDaniel Borkmann <dborkman@redhat.com>2013-05-30 17:02:23 +0200
committerDaniel Borkmann <dborkman@redhat.com>2013-05-30 17:02:43 +0200
commit11eb8de6fbd8578305c57082139d72c4f46c0864 (patch)
treea1a8e4e79efcee8d55242f0ac131c94e9ad8250c /netsniff-ng.c
parent0239434a6a58ba371ffee9a06b6b7f1e3b9ef72e (diff)
parentc2e6ac191eb0a721570bf4bcb747c08f6487c7aa (diff)
Merge branch 'master' of github.com:borkmann/netsniff-ng
Needed to let Git merge to not run into conflicts with Tobias' set of changes on ifpps resp. ifpps manpage. Signed-off-by: Daniel Borkmann <dborkman@redhat.com>
Diffstat (limited to 'netsniff-ng.c')
-rw-r--r--netsniff-ng.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/netsniff-ng.c b/netsniff-ng.c
index fe09c82..7070873 100644
--- a/netsniff-ng.c
+++ b/netsniff-ng.c
@@ -115,7 +115,7 @@ static void signal_handler(int number)
}
}
-static void timer_elapsed(int unused)
+static void timer_elapsed(int unused __maybe_unused)
{
int ret;
@@ -147,8 +147,7 @@ static void timer_purge(void)
setitimer(ITIMER_REAL, &itimer, NULL);
}
-
-static void timer_next_dump(int unused)
+static void timer_next_dump(int unused __maybe_unused)
{
set_itimer_interval_value(&itimer, interval, 0);
next_dump = true;