summaryrefslogtreecommitdiffstats
path: root/lib/pw.h
diff options
context:
space:
mode:
authorRenato Westphal <renato@opensourcerouting.org>2019-02-11 19:10:40 +0100
committerRenato Westphal <renato@opensourcerouting.org>2019-02-12 01:34:12 +0100
commit7f04943d6b860f5e74a8fc652a106c3a2046a0ce (patch)
treedba085741a8b01b0781c70f07d6db544a267ad82 /lib/pw.h
parentlib: add macro that performs explicit static casts when using a C++ compiler (diff)
downloadfrr-7f04943d6b860f5e74a8fc652a106c3a2046a0ce.tar.xz
frr-7f04943d6b860f5e74a8fc652a106c3a2046a0ce.zip
lib: a few more trivial changes for C++ compatibility
* command_graph.h: stop using "new" as a parameter name as that's a reserved C++ keyword. * module.h: avoid using C99 designated initializers since C++ doesn't support them. This change hurts code readability quite considerably, so we should try to find a better solution later. * pw.h: remove unneeded empty structure to silence a C++ warning. Signed-off-by: Renato Westphal <renato@opensourcerouting.org>
Diffstat (limited to 'lib/pw.h')
-rw-r--r--lib/pw.h3
1 files changed, 0 insertions, 3 deletions
diff --git a/lib/pw.h b/lib/pw.h
index 0b923ed6b..42b3ee215 100644
--- a/lib/pw.h
+++ b/lib/pw.h
@@ -48,9 +48,6 @@ union pw_protocol_fields {
uint32_t pwid;
char vpn_name[L2VPN_NAME_LEN];
} ldp;
- struct {
- /* TODO */
- } bgp;
};
#ifdef __cplusplus