From: Manuel Luis Sanmartin Rozada Date: Sat, 29 Sep 2012 19:54:32 +0000 (+0200) Subject: sequence_number is only used in linux. X-Git-Tag: collectd-5.2.0~53 X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=8cccaeb8bb9a7edc5c81c335e79bdbc69f66e79d;p=collectd.git sequence_number is only used in linux. Generate a compilation error. Signed-off-by: Florian Forster --- 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,