diff options
Diffstat (limited to 'lib/agg_table.h')
-rw-r--r-- | lib/agg_table.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/lib/agg_table.h b/lib/agg_table.h index dc2ff03b6..40ffe8c75 100644 --- a/lib/agg_table.h +++ b/lib/agg_table.h @@ -23,6 +23,10 @@ #include "prefix.h" #include "table.h" +#ifdef __cplusplus +extern "C" { +#endif + struct agg_table { struct route_table *route_table; @@ -150,4 +154,9 @@ static inline struct agg_table *agg_get_table(struct agg_node *node) { return (struct agg_table *)route_table_get_info(node->table); } + +#ifdef __cplusplus +} +#endif + #endif |