From 92142e3d5673806952cf78313e8f333d62c40d9e Mon Sep 17 00:00:00 2001 From: hladu357 Date: Thu, 6 Jun 2024 14:45:33 +0200 Subject: [PATCH] macro cleanup --- trie/trie.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/trie/trie.h b/trie/trie.h index 154aafd..d16407f 100644 --- a/trie/trie.h +++ b/trie/trie.h @@ -5,16 +5,16 @@ #include "stdlib.h" #include "string.h" +#define VALID_RULE 1 +#define INVALID_RULE 0 +#define RULE_NOT_FOUND -1 + union ipv6 { unsigned short s[8]; unsigned int i[4]; unsigned long l[2]; }; -#define VALID_RULE 1 -#define INVALID_RULE 0 -#define RULE_NOT_FOUND -1 - struct trie_node { struct trie_node* _l; struct trie_node* _r;