From 0dc6333d229f8b829a7b1ba455ec4f273d427dd9 Mon Sep 17 00:00:00 2001 From: Victor Julien Date: Tue, 22 Mar 2011 12:08:48 +0100 Subject: [PATCH] Fix compiler warnings about unused IPv6 Address code. --- src/detect-engine-address-ipv6.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/detect-engine-address-ipv6.c b/src/detect-engine-address-ipv6.c index 5cdb09f582..6105905a07 100644 --- a/src/detect-engine-address-ipv6.c +++ b/src/detect-engine-address-ipv6.c @@ -62,7 +62,7 @@ int AddressIPv6Lt(Address *a, Address *b) return 0; } -static int AddressIPv6LtU32(uint32_t *a, uint32_t *b) { +int AddressIPv6LtU32(uint32_t *a, uint32_t *b) { int i = 0; for (i = 0; i < 4; i++) { @@ -135,7 +135,7 @@ int AddressIPv6Eq(Address *a, Address *b) return 1; } -static int AddressIPv6EqU32(uint32_t *a, uint32_t *b) +int AddressIPv6EqU32(uint32_t *a, uint32_t *b) { int i = 0; @@ -168,7 +168,7 @@ int AddressIPv6Le(Address *a, Address *b) return 0; } -static int AddressIPv6LeU32(uint32_t *a, uint32_t *b) +int AddressIPv6LeU32(uint32_t *a, uint32_t *b) { if (AddressIPv6EqU32(a, b) == 1) @@ -200,7 +200,7 @@ int AddressIPv6Ge(Address *a, Address *b) return 0; } -static int AddressIPv6GeU32(uint32_t *a, uint32_t *b) +int AddressIPv6GeU32(uint32_t *a, uint32_t *b) { if (AddressIPv6EqU32(a, b) == 1)