]> git.proxmox.com Git - mirror_frr.git/commit - lib/openbsd-tree.h
libs, daemons: changes to permit c++ compilation
authorMark Stapp <mjs@voltanet.io>
Tue, 15 Jan 2019 18:34:23 +0000 (13:34 -0500)
committerRenato Westphal <renato@opensourcerouting.org>
Mon, 11 Feb 2019 17:49:49 +0000 (15:49 -0200)
commitd01b92fd7507d64bec89350daf725aa6fb9fdcf4
treee11fcaa40c9fe08b636f8ca58b786a7766a065ed
parentfb85ce1b812d892a07a4f942b4cfade9442b9a2b
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>
13 files changed:
isisd/isis_northbound.c
lib/if.c
lib/log.h
lib/nexthop_group.h
lib/northbound.c
lib/northbound.h
lib/openbsd-tree.h
lib/srcdest_table.h
lib/table.h
lib/vrf.c
lib/vrf.h
ripd/rip_northbound.c
ripngd/ripng_northbound.c