diff options
| author | Mark Stapp <mjs@voltanet.io> | 2019-01-15 13:34:23 -0500 |
|---|---|---|
| committer | Renato Westphal <renato@opensourcerouting.org> | 2019-02-11 15:49:49 -0200 |
| commit | d01b92fd7507d64bec89350daf725aa6fb9fdcf4 (patch) | |
| tree | e11fcaa40c9fe08b636f8ca58b786a7766a065ed /lib/northbound.h | |
| parent | fb85ce1b812d892a07a4f942b4cfade9442b9a2b (diff) | |
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/northbound.h')
| -rw-r--r-- | lib/northbound.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/northbound.h b/lib/northbound.h index 9d35a4e64a..557c4fb7ce 100644 --- a/lib/northbound.h +++ b/lib/northbound.h @@ -168,7 +168,7 @@ struct nb_callbacks { * - NB_ERR_INCONSISTENCY when an inconsistency was detected. * - NB_ERR for other errors. */ - int (*delete)(enum nb_event event, const struct lyd_node *dnode); + int (*destroy)(enum nb_event event, const struct lyd_node *dnode); /* * Configuration callback. |
