diff options
Diffstat (limited to 'lib/table.h')
| -rw-r--r-- | lib/table.h | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/lib/table.h b/lib/table.h index 3e3fb658ae..ce578e795c 100644 --- a/lib/table.h +++ b/lib/table.h @@ -25,7 +25,6 @@ #include "memory.h" #include "hash.h" #include "prefix.h" -#include "typesafe.h" #ifdef __cplusplus extern "C" { @@ -60,12 +59,10 @@ struct route_table_delegate_t_ { route_table_destroy_node_func_t destroy_node; }; -PREDECL_HASH(rn_hash_node) - /* Routing table top structure. */ struct route_table { struct route_node *top; - struct rn_hash_node_head hash; + struct hash *hash; /* * Delegate that performs certain functions for this table. @@ -132,7 +129,6 @@ struct route_table { /* Lock of this radix */ \ unsigned int table_rdonly(lock); \ \ - struct rn_hash_node_item nodehash; \ /* Each node of route. */ \ void *info; \ |
