sequence_number is only used in linux.
authorManuel Luis Sanmartin Rozada <manuel.luis@gmail.com>
Sat, 29 Sep 2012 19:54:32 +0000 (21:54 +0200)
committerFlorian Forster <octo@collectd.org>
Tue, 2 Oct 2012 07:49:03 +0000 (09:49 +0200)
Generate a compilation error.

Signed-off-by: Florian Forster <octo@collectd.org>
src/tcpconns.c

index 4d90c41..765b892 100644 (file)
@@ -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,