From 78a23a4d5ab27c8af26c0e232c099a0c16907649 Mon Sep 17 00:00:00 2001 From: Daniel Borkmann Date: Tue, 4 Jun 2013 10:11:55 +0200 Subject: 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 --- trafgen.c | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) (limited to 'trafgen.c') diff --git a/trafgen.c b/trafgen.c index 725b360..0a03f86 100644 --- a/trafgen.c +++ b/trafgen.c @@ -62,7 +62,7 @@ struct cpu_stats { sig_atomic_t state; }; -sig_atomic_t sigint = 0; +static sig_atomic_t sigint = 0; struct packet *packets = NULL; size_t plen = 0; @@ -97,13 +97,9 @@ static const struct option long_options[] = { }; static int sock; - static struct itimerval itimer; - static unsigned long interval = TX_KERNEL_PULL_INT; - static struct cpu_stats *stats; - unsigned int seed; #define CPU_STATS_STATE_CFG 1 -- cgit v1.2.3-54-g00ecf