]> git.proxmox.com Git - mirror_frr.git/commit - lib/prefix.h
lib: fix transparent_union for clang++
authorDavid Lamparter <equinox@diac24.net>
Sat, 27 Mar 2021 19:55:42 +0000 (20:55 +0100)
committerDavid Lamparter <equinox@diac24.net>
Sat, 27 Mar 2021 19:59:39 +0000 (20:59 +0100)
commit5d387792337c869724b4a6ff07ee6791a7094b87
tree2ca589495aae96b726481ab1e3f3bc8eef3cfbe4
parent694df37daf95940e923905fdd1096541d860bbfd
lib: fix transparent_union for clang++

clang does not accept __attribute__((transparent_union)) in C++ source
code.  We don't need it there anyway so let's just limit it to C.

Signed-off-by: David Lamparter <equinox@diac24.net>
lib/prefix.h