diff options
| author | Lou Berger <lberger@labn.net> | 2019-05-02 06:54:59 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2019-05-02 06:54:59 -0400 |
| commit | e8b9ad5cdda832ea5ff8dbe21f6078fe15badd33 (patch) | |
| tree | 8b5978d6155cbb1cb9d2877e165bf9b60f261303 /lib/table.h | |
| parent | eefbfd1d276d3c31ac87256785f463b840c55797 (diff) | |
Revert "Zebra diet"
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; \ |
