diff options
author | Mark Stapp <mjs@voltanet.io> | 2019-01-15 19:34:23 +0100 |
---|---|---|
committer | Renato Westphal <renato@opensourcerouting.org> | 2019-02-11 18:49:49 +0100 |
commit | d01b92fd7507d64bec89350daf725aa6fb9fdcf4 (patch) | |
tree | e11fcaa40c9fe08b636f8ca58b786a7766a065ed /lib/vrf.h | |
parent | Merge pull request #3770 from donaldsharp/detailed_debugs (diff) | |
download | frr-d01b92fd7507d64bec89350daf725aa6fb9fdcf4.tar.xz frr-d01b92fd7507d64bec89350daf725aa6fb9fdcf4.zip |
libs, daemons: changes to permit c++ compilation
Some misc changes to resolve some c++ compilation errors.
The goal is only to permit an external module - a plugin,
for example - to see frr headers, not to support or encourage
contributions in c++. The changes include: avoiding use
of keywords like 'new', 'delete'; cleaning up implicit
type-casting from 'void *' in several places.
Signed-off-by: Mark Stapp <mjs@voltanet.io>
Diffstat (limited to 'lib/vrf.h')
-rw-r--r-- | lib/vrf.h | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -200,7 +200,7 @@ extern int vrf_bitmap_check(vrf_bitmap_t, vrf_id_t); * the system ( 2 and 3 ) above. */ extern void vrf_init(int (*create)(struct vrf *vrf), int (*enable)(struct vrf *vrf), - int (*disable)(struct vrf *vrf), int (*delete)(struct vrf *vrf), + int (*disable)(struct vrf *vrf), int (*destroy)(struct vrf *vrf), int (*update)(struct vrf *vrf)); /* |