Code

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 4d90c41a51ac8029baf4bdd34eadf767b6d1e01a..765b892e265498e0299fb4f7c4f2265eef93290c 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,