summaryrefslogtreecommitdiff
path: root/ifpps.c
diff options
context:
space:
mode:
authorDaniel Borkmann <dborkman@redhat.com>2013-06-04 10:11:55 +0200
committerDaniel Borkmann <dborkman@redhat.com>2013-06-04 10:11:55 +0200
commit78a23a4d5ab27c8af26c0e232c099a0c16907649 (patch)
tree7abfec64bdb1c639faca541512e95b6f3bfa9aad /ifpps.c
parent22e4551cb007312ef808669aa70cad10a7657136 (diff)
xio: add ioexact operations
Break this out so that we only need to have sigint non-static where it is really needed. Signed-off-by: Daniel Borkmann <dborkman@redhat.com>
Diffstat (limited to 'ifpps.c')
-rw-r--r--ifpps.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/ifpps.c b/ifpps.c
index 9ff01b3..d3e4fa2 100644
--- a/ifpps.c
+++ b/ifpps.c
@@ -52,14 +52,10 @@ struct cpu_hit {
long long unsigned int irqs_rel, irqs_abs;
};
-volatile sig_atomic_t sigint = 0;
-
+static volatile sig_atomic_t sigint = 0;
static struct ifstat stats_old, stats_new, stats_delta;
-
static struct cpu_hit *cpu_hits;
-
static int stats_loop = 0;
-
static WINDOW *stats_screen = NULL;
static const char *short_options = "d:t:n:vhclp";