diff options
| author | Emanuele Di Pascale <emanuele@voltanet.io> | 2020-05-14 15:57:23 +0200 |
|---|---|---|
| committer | Emanuele Di Pascale <emanuele@voltanet.io> | 2020-05-14 16:42:47 +0200 |
| commit | cd7108ba928588a14250ef3bc8a8a44eb0f2c81d (patch) | |
| tree | 92d7eb87dc9f8dababffabb6dc70cab7bd7ed78f /zebra/rib.h | |
| parent | e3dafc25805c5473dff1f0a728787beaec1799d6 (diff) | |
zebra: avoid using c++ keywords in headers
to make sure that c++ code can include them, avoid using reserved
keywords like 'delete' or 'new'.
Signed-off-by: Emanuele Di Pascale <emanuele@voltanet.io>
Diffstat (limited to 'zebra/rib.h')
| -rw-r--r-- | zebra/rib.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/zebra/rib.h b/zebra/rib.h index 0b44550387..a024b6dfaa 100644 --- a/zebra/rib.h +++ b/zebra/rib.h @@ -323,7 +323,8 @@ enum rib_update_event { extern void route_entry_copy_nexthops(struct route_entry *re, struct nexthop *nh); -int route_entry_update_nhe(struct route_entry *re, struct nhg_hash_entry *new); +int route_entry_update_nhe(struct route_entry *re, + struct nhg_hash_entry *new_nhghe); #define route_entry_dump(prefix, src, re) _route_entry_dump(__func__, prefix, src, re) extern void _route_entry_dump(const char *func, union prefixconstptr pp, |
