From 8cccaeb8bb9a7edc5c81c335e79bdbc69f66e79d Mon Sep 17 00:00:00 2001 From: Manuel Luis Sanmartin Rozada Date: Sat, 29 Sep 2012 21:54:32 +0200 Subject: [PATCH] sequence_number is only used in linux. Generate a compilation error. Signed-off-by: Florian Forster --- src/tcpconns.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/tcpconns.c b/src/tcpconns.c index 4d90c41a..765b892e 100644 --- a/src/tcpconns.c +++ b/src/tcpconns.c @@ -275,9 +275,9 @@ static int config_keys_num = STATIC_ARRAY_SIZE (config_keys); static int port_collect_listening = 0; static port_entry_t *port_list_head = NULL; +#if KERNEL_LINUX static uint32_t sequence_number = 0; -#if KERNEL_LINUX enum { SRC_DUNNO, -- 2.11.0