summaryrefslogtreecommitdiff
path: root/flowtop.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 /flowtop.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 'flowtop.c')
-rw-r--r--flowtop.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/flowtop.c b/flowtop.c
index 1c51486..4703dc8 100644
--- a/flowtop.c
+++ b/flowtop.c
@@ -77,10 +77,8 @@ struct flow_list {
#define INCLUDE_ICMP (1 << 5)
#define INCLUDE_SCTP (1 << 6)
-volatile sig_atomic_t sigint = 0;
-
+static volatile sig_atomic_t sigint = 0;
static int what = INCLUDE_IPV4 | INCLUDE_IPV6 | INCLUDE_TCP, show_src = 0;
-
static struct flow_list flow_list;
static const char *short_options = "vhTUsDIS46u";